24 Commits
Author SHA1 Message Date
Reagan Lopez fc222fdb05 Update man page
Update man page to include `format` flag.

Also, update Makefile to build man pages as a prerequisite for the
`build` target.

Fixes #557

Signed-off-by: Reagan Lopez <reagan.lopez@intel.com>
2020-04-27 09:55:02 -07:00
Reagan Lopez bbeee932be Remove the --no-publish flag
Mixer will now always update the LAST_VER file after `build update`.
This file is used by `build validate` (MCA) to determine whether
the version in comparison is a +10.

Fixes #735

Signed-off-by: Reagan Lopez <reagan.lopez@intel.com>
2020-04-20 10:15:37 -07:00
Reagan Lopez 710c4486a4 Remove the mixin feature
Now mixer has the ability to support 3rd party content, which makes the
need for mixin obsolete.

Signed-off-by: Reagan Lopez <reagan.lopez@intel.com>
2020-04-06 15:22:14 -07:00
Ashlesha Atrey 1f21b261e7 Add --local flag in mixer bundle create command
Passing '--local' with mixer bundle create will skip
the upstream check and create a new empty local bundle
if it does not already exist.

fixes #713

Signed-off-by: Ashlesha Atrey <ashlesha.atrey@intel.com>
2020-02-04 15:12:04 -08:00
John Akre 6da31a6436 docs: Remove bundle chroot tutorial
Bundle chroots do not resolve conflicts against the full chroot and the
workflow is not streamlined. Now, the bundle definition file should be
used to integrate custom content into the mix.

The bundle definition file supports content chroots which are integrated
into the bundle's info file and resolved against the full chroot.

Ex: content(/path)

Signed-off-by: John Akre <john.w.akre@intel.com>
2020-01-31 13:54:12 -08:00
John Akre 77665e5d7c Add repo priority to repo list and add commands
Now the mixer repo list command displays repo priorities and the mixer
repo add command can set the repo's priority with the --priority flag.

Signed-off-by: John Akre <john.w.akre@intel.com>
2020-01-08 18:18:50 -08:00
John Akre ea0bf75463 Add set-priority to the repo command
The set-priority repo command updates the priority value for the
specified repo in the DNF config file. This command uses the following
format:

mixer repo set-priority <repo> <priority>

Fixes #691

Signed-off-by: John Akre <john.w.akre@intel.com>
2020-01-08 18:18:50 -08:00
John Akre 6b2ca23984 MCA: Refactor statistics table
The MCA statistics table replaced the tabwriter implementation with the
tablewriter package. Now the statistics table is a complete box with
line wrapping support for long lines.

This change also adds the --table-width parameter which is used to set the
maximum width of the MCA statistics table. The default value is the
width of the calling terminal and the table can be disabled by providing
a negative number for the table-width.

Signed-off-by: John Akre <john.w.akre@intel.com>
2019-12-20 15:20:32 -08:00
Rodrigo Chiossi bd4b588664 docker: Remove built-in Docker support
Built-in Docker support was originally added to enable auto-format bump.
At that time, mixer could only handle one format version at a time, so
we needed 2 different binaries to cross a format boundary: 1 for the +10
and one for the +20. The docker support would allow us to download an
image with the right version for that given format and simplify the
process.

Mixer now has support for multiple formats and a single binary can
handle the whole format bump process. Built in docker image is no longer
needed.

Note: For Docker usage due to compatibility issues with the host system,
mixer-ci Docker image should be used instead.

Signed-off-by: Rodrigo Chiossi <rodrigo.chiossi@intel.com>
2019-11-08 17:09:06 +01:00
Geoffroy Van Cutsem 5e1ccb804d doc: update man pages based on latest ReST documents
Update the man pages to reflect the latest content from the original content in
the .rst (ReST) documents.

Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
2019-10-16 16:20:42 +02:00
Geoffroy Van Cutsem 184b93eb6e doc: fix minor mistakes in mixer.build manual
Fix inaccuracies in 'mixer.build' manual page.

Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
2019-10-16 16:20:42 +02:00
John Akre ed494e8674 MCA: Add documentation
Add documentation for the build validate command.

Signed-off-by: John Akre <john.w.akre@intel.com>
2019-07-02 00:00:50 +02:00
Rodrigo Chiossi 0a8edd41d4 docs: Add --skip-format-check information
Add information about --skip-format-check

Signed-off-by: Rodrigo Chiossi <rodrigo.chiossi@intel.com>
2019-05-15 20:55:35 +02:00
Rodrigo Chiossi a448fb8ddc cmd: Improve error message for invalid upstream
The `--clear-version` flag in mixer init accepts a string as parameter
to allow the user to set it to `latest`, which will auto fetch the
upstream version. For all other cases, this flag must be provided an
integer number. This patch clarifies the valid values for this flag both
in the error message and in the help description.

Signed-off-by: Rodrigo Chiossi <rodrigo.chiossi@intel.com>
2019-04-25 19:17:48 +02:00
William Douglas 623c60999b Enable create Manifest deltas in mixer
swupd-server used to support building bsdiff based deltas of manifest
files. This change adds that ability back for bundle manifests with
the 'mixer build delta-manifests' command.
2019-02-12 13:17:59 -02:00
Reagan Lopez a9b249da53 bundles: Change bundle edit to bundle create
With the removal of the editor feature in `bundle edit`,
the term `edit` is not relevant anymore. Hence, changing it to `create`.
In order to prevent breakage of existing use-cases,
`edit` is aliased to `create`and `--suppress-editor` is made hidden and deprecated.

Signed-off-by: Reagan Lopez <reagan.lopez@intel.com>
2018-11-20 10:54:38 -08:00
Reagan Lopez 7b6d4c22b5 bundles: Remove editor option for bundle edit
`bundle edit` will no longer open the editor. It will just create new bundles or copy existing bundles.
This command will locate the bundle by first looking in local-bundles, and then in upstream-bundles.
If the bundle is only found upstream, the bundle file will be copied to the local-bundles directory.
If the bundle is not found anywhere, a blank template will be created with the correct name.

This commit also fixes issue #448 and increases test coverage for `bundle validate`.

Signed-off-by: Reagan Lopez <reagan.lopez@intel.com>
2018-11-20 10:54:38 -08:00
Matthew Johnson 5268f99d6a man-pages: add references to os-format manual
Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>
2018-10-23 12:40:12 -07:00
Tudor Marcu 03626db926 Update man pages with --native
Signed-off-by: Tudor Marcu <tudor.marcu@intel.com>
2018-07-31 10:57:39 -07:00
Matthew Johnson 9c362143da mixin: update manual pages for --bundle flag
Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>
2018-06-06 15:31:59 -07:00
Kevin C. Wells 4f52f0d081 Update man pages for mixer init
Add the new '--no-default-bundles' flag to the man pages.

Signed-off-by: Kevin C. Wells <kevin.c.wells@intel.com>
2018-05-29 12:40:37 -07:00
Matthew Johnson a68aaef443 Add tutorial for adding custom content from build root
Some users are asking for instructions on how to build custom bundles
without having to go through the pain of packaging their content in an
RPM. Provide a tutorial explaining how this can be achieved.

Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>
2018-05-18 10:57:20 -07:00
Matthew Johnson 7f9669740a Add man page for mixin
Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>
2018-05-14 16:25:13 -07:00
Matthew Johnson 8e93fa21e6 Add mixer manual pages
Add manual pages for the top-level mixer command and all subcommands.

Signed-off-by: Matthew Johnson <matthew.johnson@intel.com>
2018-05-14 11:06:49 -07:00