Skip to content

osc usecase for reproducible builds #1922

@bmwiedemann

Description

@bmwiedemann

Is your feature request related to a problem? Please describe.
This is meant to describe my use-case of osc for my tooling to check reproducible builds.

My code is at
https://github.com/bmwiedemann/reproducibleopensuse/tree/devel

a) I get mtimes from .osc/_files for non-git builds, because those mtimes matter in the creation of .src.rpm cpio metadata.

b) I use the mtime of .osc/_files as reference for Makefiles to decide when to rebuild a package, so that I can run osc up on a whole project but only rebuild the parts that got updated.

c) for _multibuild packages, I need to figure out, which of them to rebuild. I use osc r to check for excluded/disabled/unresolvable builds.

I use .osc/_project but fallback to ../.osc/_project for bookkeeping.

I try to extract version info from .spec or .build.log

I use osc build --preload and --offline to run two parallel builds with identical versions of everything, also with --alternative-project or -p DIR to add local versions with toolchain patches.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions