Commit graph

174 commits

Author SHA1 Message Date
Christian Kellner
1800f2a711 17
This completes the development of osbuild version 17.
2020-06-10 15:43:24 +02:00
Christian Kellner
162797f206 NEWS.md: update for osbuild version 16
Major changes are the support for ignition, that assembler results
wont be automatically committed anymore, a new org.osbuild.copy
stage, the removal of the `tree_id` & `output_id` as well as full
manifest validation due to the addition of source schema validation.
2020-06-04 16:22:59 +02:00
Christian Kellner
2fa594f334 15
This completes the development of osbuild version 15.
2020-05-20 21:44:58 +02:00
Christian Kellner
f2a3423caa 14
This completes the development of osbuild version 14.
2020-05-06 20:18:15 +02:00
Christian Kellner
e77d95f4b7 osbuild: add meta module for metadata information
This new module contains utilities that help to introspect parts
that constitute the inner parts of osbuild, i.e. its stages
and assembler (which is also considered a type of stage in
this context). It contains the `StageInfo` class that can that
contains meta-information about the individual stage, such as
a short information (`info`), a longer description (`desc`) and
its JSON schema. A new Schema class represents schema data and
has a `validation` method that can be used to validate that json
data conforms to said schema.
A `Index` class can be used to obtain `StageInfo` and `Schema`
for entities identified via `klass` and `name`.
A top level `validate` method is introduced that can validate
manifest data.
Internally it uses the `jsonschema` package so add that as a
requirement and Install this dependency in the CI.
2020-05-06 15:42:23 +02:00
Christian Kellner
245809f40d 13
This completes the development of osbuild version 13.
2020-04-29 20:39:37 +02:00
David Rheinsberg
421414ef0b osbuild: extract CLI to prepare for additional entrypoints
This extracts the CLI entrypoint into `main_cli.py` and prepares the
codebase for the introduction of additional entrypoints. This should
not contain any functional changes.

The idea behind this is to add `main_api.py` (and maybe more in the
future), which will be similar to `main_cli.py` but contain the
`osbuild-api` entrypoint. This will make all entrypoints nicely symetric
and the only difference will be `setup.py` selecting the right
entrypoint for each executable, as well as `__main__.py` selecting the
entrypoint for the module itself (which we will keep to the CLI for
compatibility).
2020-04-28 15:39:54 +02:00
David Rheinsberg
e2aa7d8128 util: mark as module
Make sure ./osbuild/util/ is considered a python module. Add
__init__.py to declare it as such and include it in the module-list of
setup.py.
2020-04-21 17:00:04 +02:00
Christian Kellner
f036c10759 12
This completes the development of osbuild version 12.
2020-04-15 20:19:36 +02:00
Christian Kellner
953cf7bff0 11
This completes osbuild version 11.
2020-04-01 19:03:41 +02:00
Christian Kellner
61420d1496 10
This completes osbuild version 10.
2020-03-18 18:41:39 +01:00
Christian Kellner
012269dc31 setup.py: remove unused import
Remove the unused 'glob' import. Issue found by lgtm.com
2020-03-07 13:42:36 +01:00
Christian Kellner
6fdc52e2ec 9
Release osbuild version 9
2020-03-05 12:42:59 +01:00
Major Hayden
a1f4bb1459 Bump setup.py to version 8
Signed-off-by: Major Hayden <major@redhat.com>
2020-02-24 20:02:30 +01:00
Lars Karlitski
5b77048e97 7 2019-12-16 01:17:25 +01:00
Lars Karlitski
d8bb359e81 6 2019-11-29 19:08:53 +01:00
Lars Karlitski
1f526477d2 5 2019-10-30 18:49:56 +01:00
Lars Karlitski
434a01602b 3 2019-10-04 11:13:21 +02:00
Martin Sehnoutka
209d3fa437 release version 2 2019-09-18 00:05:43 +02:00
Martin Sehnoutka
3c19420b3e introduce spec file and related build scripts
The repository now contains a Vagrantfile for running the testing script
against an RPM package created locally using `make rpm`. To run this
test use `make vagrant-test`. setup.py was also modified to adhere to
packaging guidelines and not to install system-level executables.
The lincense is now included in the Python package using the MANIFEST.in
file.
2019-07-23 15:22:40 +02:00
Martin Sehnoutka
b218430bfa add __main__ file for convenient CLI usage 2019-07-18 10:17:39 +02:00
Martin Sehnoutka
23680736bb create osbuild package 2019-07-18 10:17:39 +02:00
Martin Sehnoutka
60312c3dae package osbuild-run in setup.py 2019-07-11 13:59:30 +02:00
Lars Karlitski
6fb843f7f6 add setup.py (#12) 2019-07-11 11:32:49 +02:00