Commit Graph

135 Commits

Author SHA1 Message Date
Mike McLean
120681806b update script options in CONTRIBUTING doc 2019-10-15 11:17:51 -04:00
Jan Kaluza
3fedb14483 Add KojiResolver doc. 2019-10-11 09:34:19 +02:00
Mike McLean
e9946fcd00 Release v2.29.1 2019-10-03 16:37:02 -04:00
Mike McLean
bbe10fd2da Release 2.29.0 2019-10-03 15:10:54 -04:00
Matt Prahl
73e2d1a6f7 Merge #1427 Allow running an individual test using a relative path 2019-10-02 12:09:30 +00:00
Jan Kaluža
f6c2a88cc0 Merge #1435 Add initial code for KojiResolver class. 2019-09-30 06:25:55 +00:00
Jan Kaluza
a7540452cd Add initial code for KojiResolver class.
This commit:

- Adds KojiResolver class and KojiResolver tests.
- Changes the GenericResolver and its subclasses to pass base_module_mmds
  instead of base_module_nsvc to get_buildrequired_modulemds. This is needed,
  because KojiResolver needs to access XMD section of base module.
- Implements KojiResolver.get_buildrequired_modulemds to ask Koji for list of
  modules tagged in the Koji tag and return their modulemds.
2019-09-30 07:56:07 +02:00
Stephen Gallagher
8e3ebe5df2 Doc improvements for virtual modules
Signed-off-by: Stephen Gallagher <sgallagh@redhat.com>
2019-09-27 08:48:05 -04:00
Luiz Carvalho
97be1c4737 Document how to generate DB migration scripts
Signed-off-by: Luiz Carvalho <lucarval@redhat.com>
2019-09-19 16:26:26 -04:00
mprahl
550b266961 Release v2.28.2 2019-09-19 10:22:01 -04:00
mprahl
2fc439c860 Allow running an individual test using a relative path
Since the tests now run in a different location in the container
since PR #1378, the documentation needed to be updated. Instead,
we should just allow the user to pass a relative path instead.
2019-09-18 16:01:05 -04:00
mprahl
853300d150 Release v2.28.1 2019-09-18 09:55:55 -04:00
mprahl
110b6adb0a Add release notes for v2.28.0 2019-09-17 13:24:22 -04:00
mprahl
00e78494d9 Refactor handling of default buildroot modules (Ursa Prime)
This removes support for default_modules_url in the Platform XMD and
gets the list of default name:stream combinations to include in the buildroot
from https://pagure.io/releng/fedora-module-defaults.

Addresses #1402
2019-09-11 12:20:35 -04:00
Jan Kaluza
f026a4f88b Version 2.27.0. 2019-08-30 08:01:41 +02:00
mprahl
ef39068127 Reword the gating documentation
This commit fixes a few typos and adds a link to Greenwave.
2019-08-23 14:02:46 -04:00
Jan Kaluza
5329c656c0 Describe gating in GATING.rst. 2019-08-22 14:53:48 +02:00
Jan Kaluza
34dc744041 Version 2.26.0 2019-08-12 10:54:17 +02:00
mprahl
530136a522 Add documentation about dependency resolution
This was written with the help of Jan Kaluža.

Co-authored-by: Jan Kaluža <jkaluza@redhat.com>
2019-08-02 15:49:47 -04:00
Chenxiong Qi
68fe2b69f1 Allow to run tests with PostgreSQL inside Vagrant machine
Signed-off-by: Chenxiong Qi <cqi@redhat.com>
2019-07-19 06:34:08 +08:00
mprahl
dae4f10189 Clean up the change log 2019-07-17 15:52:38 -05:00
mprahl
1cb1e65767 Release v2.25.0 2019-07-17 08:24:26 -05:00
mprahl
1bcb40d4d0 Allow specifying a specific module build to reuse components from
This resolves #1296.
2019-07-16 11:40:59 +00:00
mprahl
96d44d049e Add the ability to automatically buildrequire default modules defined by the buildrequired base module
A base module can set xmd.mbs.default_modules_url, which contains a
URL to a list of modules in the format of name:stream separated by
new lines. When a module buildrequires this base module, the list
of default modules are added as buildrequires of the module automatically
unless there are conflicting streams or the default module is not
in the MBS database.
2019-07-05 14:52:50 -04:00
Valerij Maljulin
7277ac480f Release v2.22.0 2019-07-01 17:26:31 +02:00
mprahl
c887448a7c Add additional documentation about rebuild strategies 2019-06-25 10:19:23 -04:00
mprahl
35eb016fd8 Move the Rebuild Strategies documentation to a separate file 2019-06-24 14:29:58 -04:00
Chenxiong Qi
5f93a47051 Allow to run specific test inside container
For example, contrib/run-unittests.sh /src/tests/test_utils ...

Please note that the path starts from /src, which is the root directory of
code inside container.

Signed-off-by: Chenxiong Qi <cqi@redhat.com>
2019-06-21 10:48:10 -04:00
Jan Kaluza
e1b29d2fde Version 2.23.0 2019-06-20 06:55:00 +02:00
Valerij Maljulin
392a456dab Release v2.22.0 2019-06-18 10:44:58 +02:00
Chenxiong Qi
630f7b4e18 Allow to run tests with PostgreSQL inside container
This patch introduces a new environment variable in order to allow running
tests with different database backend. This is useful particularly for running
tests inside container. With this change, it is possible run tests in following
combinations:

* Python 2 and SQLite
* Python 3 and SQLite
* Python 2 and PostgreSQL
* Python 3 and PostgreSQL

Package python-psycopg2 is installed in both Dockerfile-tests and
Dockerfile-tests-py3 in case of running tests with PostgreSQL.

A new script contrib/run-unittests.sh is added to make it easy to run tests. An
example:

    contrib/run-unittests.sh --py3 --with-pgsql

that runs tests with Python 3 and PostgreSQL.

Signed-off-by: Chenxiong Qi <cqi@redhat.com>
2019-06-17 22:47:23 +08:00
Hunor Csomortáni
1848350e13 Document updating the test images in Quay.io
Signed-off-by: Hunor Csomortáni <csomh@redhat.com>
2019-06-12 08:31:39 +02:00
Hunor Csomortáni
9b90836595 Document using images from Quay.io for testing
Signed-off-by: Hunor Csomortáni <csomh@redhat.com>
2019-06-12 08:31:39 +02:00
Hunor Csomortáni
7db21b7385 Contributing: replace docker with podman
Recommend using podman instead of docker because:

* one can spin up containers without sudo with podman;
* docker in Fedora has a really old version, and probably will be
  depercated at some point.

Signed-off-by: Hunor Csomortáni <csomh@redhat.com>
2019-06-11 14:04:30 +02:00
Jan Kaluza
ae2b6d9533 Release 2.21.0 2019-05-24 10:17:56 +02:00
mprahl
e2a75c3323 Release v2.20.0 2019-05-10 10:23:15 -04:00
mprahl
53ba1513e2 Add a code style guide 2019-05-10 13:02:27 +00:00
mprahl
74be9e8428 Add documentation that defines libsolv terms and how they relate to MBS 2019-05-07 08:56:54 -04:00
mprahl
5a82d95756 Release v2.19.1 2019-04-16 14:22:01 -04:00
mprahl
4afd3e1209 Remove xmd.mbs.requires from the virtual module documentation
This field has not been used for a long time and it should not
be documented any more.
2019-04-10 08:15:29 -04:00
Jan Kaluza
e32dcc153b Add offline module builds documentation. 2019-04-05 08:07:24 +02:00
mprahl
251c364307 Release v2.19.0 2019-04-04 13:34:21 -04:00
mprahl
f1480feec2 Allow importing modules without a Koji tag
These module builds will basically act as metadata-only module builds.
This will be more useful as additional features stem from these types
of builds.
2019-04-04 09:09:38 -04:00
mprahl
d75c3042c7 Release v2.18.2 2019-03-25 12:06:40 -04:00
mprahl
1528cc52c0 Fix the indentation in the virtual modules documentation 2019-03-20 14:40:03 -04:00
mprahl
ff251b14db Release v2.18.1 2019-03-20 14:25:47 -04:00
mprahl
803d5409c1 Remove semicolons from virtual modules documentation 2019-03-20 12:04:15 -04:00
Jan Kaluza
1631a1ba4f Release 2.18.0 2019-03-20 09:22:42 +01:00
Merlin Mathesius
7b7b07211e Add/improve documentation for scratch module build requests,
particularly for the new 'modulemd' and 'module_name' parameters.

Signed-off-by: Merlin Mathesius <mmathesi@redhat.com>
2019-03-19 11:56:47 +00:00
mprahl
64053e7fed Document virtual platforms 2019-03-19 11:40:20 +00:00