Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mixer-pack-maker: add option for building packs for N versions back #12

Closed
phmccarty opened this issue Oct 14, 2016 · 3 comments
Closed

Comments

@phmccarty
Copy link
Contributor

Support building of packs for N versions back from the --to version, as an alternative to passing one or more --from options. Proposed option name: --back.

@phmccarty
Copy link
Contributor Author

Note that the semantics would be different than the old pack maker, which built N versions back per bundle. The new behavior would strictly build N versions back, based on the linear sequence of VER/Manifest.MoM files generated, going back in time.

@tmarcu
Copy link
Contributor

tmarcu commented Aug 28, 2017

@phmccarty is this something that could be tackled with the pack-maker rewrite as well?

@phmccarty
Copy link
Contributor Author

Yes

cmarcelo added a commit to cmarcelo/mixer-tools that referenced this issue Jan 14, 2018
This is a --new-swupd replacement of mixer-pack-maker.sh script. There
are two ways to specify what delta packs to make: by setting a --from
version or by asking for (up to) K --previous-versions.

Unlike the script, only one --from is supported, if multiple specific
versions are needed, mixer must be called multiple times. The
rationale is the multiple --from was used to simulate
--previous-versions (by having the caller figuring out them), so not
very important anymore.

The implementation uses swupd.FindBundlesToPack to figure out
what (bundle, from, to) combinations it needs to build, then use
swupd.CreatePack to do the work.

The FindBundlesToPack was changed to take manifests instead of version
numbers and state dirs, the test program was updated accordingly.

Fixes clearlinux#83.
Fixes clearlinux#12.

Signed-off-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
cmarcelo added a commit to cmarcelo/mixer-tools that referenced this issue Jan 15, 2018
This is a --new-swupd replacement of mixer-pack-maker.sh script. There
are two ways to specify what delta packs to make: by setting a --from
version or by asking for (up to) K --previous-versions.

Unlike the script, only one --from is supported, if multiple specific
versions are needed, mixer must be called multiple times. The
rationale is the multiple --from was used to simulate
--previous-versions (by having the caller figuring out them), so not
very important anymore.

The implementation uses swupd.FindBundlesToPack to figure out
what (bundle, from, to) combinations it needs to build, then use
swupd.CreatePack to do the work.

The FindBundlesToPack was changed to take manifests instead of version
numbers and state dirs, the test program was updated accordingly.

Fixes clearlinux#83.
Fixes clearlinux#12.

Signed-off-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
cmarcelo added a commit to cmarcelo/mixer-tools that referenced this issue Jan 16, 2018
This is a --new-swupd replacement of mixer-pack-maker.sh script. There
are two ways to specify what delta packs to make: by setting a --from
version or by asking for (up to) K --previous-versions.

Unlike the script, only one --from is supported, if multiple specific
versions are needed, mixer must be called multiple times. The
rationale is the multiple --from was used to simulate
--previous-versions (by having the caller figuring out them), so not
very important anymore.

The implementation uses swupd.FindBundlesToPack to figure out
what (bundle, from, to) combinations it needs to build, then use
swupd.CreatePack to do the work.

The FindBundlesToPack was changed to take manifests instead of version
numbers and state dirs, the test program was updated accordingly.

Fixes clearlinux#83.
Fixes clearlinux#12.

Signed-off-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
cmarcelo added a commit to cmarcelo/mixer-tools that referenced this issue Jan 16, 2018
This is a --new-swupd replacement of mixer-pack-maker.sh script. There
are two ways to specify what delta packs to make: by setting a --from
version or by asking for (up to) K --previous-versions.

Unlike the script, only one --from is supported, if multiple specific
versions are needed, mixer must be called multiple times. The
rationale is the multiple --from was used to simulate
--previous-versions (by having the caller figuring out them), so not
very important anymore.

The implementation uses swupd.FindBundlesToPack to figure out
what (bundle, from, to) combinations it needs to build, then use
swupd.CreatePack to do the work.

The FindBundlesToPack was changed to take manifests instead of version
numbers and state dirs, the test program was updated accordingly.

Fixes clearlinux#83.
Fixes clearlinux#12.

Signed-off-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
cmarcelo added a commit to cmarcelo/mixer-tools that referenced this issue Jan 17, 2018
This is a --new-swupd replacement of mixer-pack-maker.sh script. There
are two ways to specify what delta packs to make: by setting a --from
version or by asking for (up to) K --previous-versions.

Unlike the script, only one --from is supported, if multiple specific
versions are needed, mixer must be called multiple times. The
rationale is the multiple --from was used to simulate
--previous-versions (by having the caller figuring out them), so not
very important anymore.

The implementation uses swupd.FindBundlesToPack to figure out
what (bundle, from, to) combinations it needs to build, then use
swupd.CreatePack to do the work.

The FindBundlesToPack was changed to take manifests instead of version
numbers and state dirs, the test program was updated accordingly.

Fixes clearlinux#83.
Fixes clearlinux#12.

Signed-off-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
cmarcelo added a commit to cmarcelo/mixer-tools that referenced this issue Jan 17, 2018
This is a --new-swupd replacement of mixer-pack-maker.sh script. There
are two ways to specify what delta packs to make: by setting a --from
version or by asking for (up to) K --previous-versions.

Unlike the script, only one --from is supported, if multiple specific
versions are needed, mixer must be called multiple times. The
rationale is the multiple --from was used to simulate
--previous-versions (by having the caller figuring out them), so not
very important anymore.

The implementation uses swupd.FindBundlesToPack to figure out
what (bundle, from, to) combinations it needs to build, then use
swupd.CreatePack to do the work.

The FindBundlesToPack was changed to take manifests instead of version
numbers and state dirs, the test program was updated accordingly.

Fixes clearlinux#83.
Fixes clearlinux#12.

Signed-off-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
@tmarcu tmarcu closed this as completed in b1d5344 Jan 17, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants