mprahl
29130e3da5
Release v2.2.4
v2.2.4
2018-06-01 08:34:22 -04:00
Owen W. Taylor
827546dc9a
module-build-macros: Use /etc instead of %_sysconfdir
...
Commit 42aef7d5d2 moved the macros installed by module-build-macros
from %_rpmconfdir (which is unaffected by %_prefix) to %_sysconfdir/rpm
(which follows %_prefix). This interacts badly with the Flatpak module
macros which change %_prefix to /app - when flatpak-rpm-macros is
in the buildroot while module-build-macros is built, module-build-macros
installs its macros to /app and they aren't found when building the
rest of the packages in the module.
Hardcoding /etc rather than using %_sysconfdir fixes this.
2018-05-31 17:52:04 -04:00
mprahl
afaaae2894
Release v2.2.3
v2.2.3
2018-05-31 14:44:12 -04:00
mprahl
2e6589ae41
Check the libmodulemd version instead of modulemd
2018-05-31 14:32:06 -04:00
mprahl
6e26e24ee1
Release v2.2.2
v2.2.2
2018-05-30 15:58:32 -04:00
Owen W. Taylor
6fd3a2586d
PDCResolver: always look for local modules.
...
Modules that might have been added to a Mock build with --add-local-build
were only checked in one place, but there were two other places where data
was loaded directly from the PDC.
2018-05-30 15:47:14 -04:00
Owen W. Taylor
19bf94f0ea
Load 'context' for local builds
...
'context' needed to be stored into the in-memory database and then
propagated for builds added to a MockModuleBuild with --add-local-build.
2018-05-30 15:47:14 -04:00
Owen W. Taylor
ddee4f840b
MockModuleBuilder: add artifacts to artifacts not components
...
The built RPM artifacts were being added to the components list (the
RPMs to build) instead of the proper artifacts section. Also, they
need to be in NEVRA format, so use 'rpm -qf' to query the epochs from
the built artifacts.
2018-05-30 15:47:14 -04:00
Owen W. Taylor
5093a94f20
Add epoch to RPM artifacts in testing modulemd files
...
RPM artifacts in modulemd files are required to be in name-epoch:version-release.arch
format - this is enforced since libmodulemd-1.4.
2018-05-30 12:33:31 -04:00
mprahl
56a4772299
Release v2.2.1
v2.2.1
2018-05-29 10:13:52 -04:00
mprahl
5930dd0b3f
Set the modulemd's context as the context in the DB to correct the current values
2018-05-29 10:06:53 -04:00
mprahl
574c3eae92
Query by the context directly
2018-05-21 13:33:39 -04:00
mprahl
a4d97f66b0
Remove "artifacts" in modulemd from local build test modulemds that caused libmodulemd to choke
2018-05-21 12:22:59 -04:00
mprahl
0a9119f720
Use the latest libmodulemd in Vagrant
2018-05-21 12:21:29 -04:00
mprahl
aa98eb1cc2
Don't determine the buildroot_groups when cleaning up stale module builds
2018-05-14 13:55:56 -04:00
mprahl
892e5c9fca
Fix unit tests
2018-05-11 13:56:07 -04:00
mprahl
0118401e9e
Version 2.2.0
v2.2.0
2018-05-10 11:57:48 -04:00
mprahl
b0728b1080
Make the published messages smaller
2018-05-10 11:49:02 -04:00
mprahl
00e46c205b
Show siblings and component_builds in the standard modules API
2018-05-10 11:48:00 -04:00
Ralph Bean
64064c544b
Version 2.1.1
v2.1.1
2018-05-08 15:57:51 -04:00
Ralph Bean
95eead27f3
Merge #934 Log this exception.
2018-05-08 19:55:02 +00:00
Ralph Bean
12fcd91bcd
Log this exception.
...
If libmodulemd returns some garbage, it will be nice to know what it is.
2018-05-08 15:49:51 -04:00
Matt Prahl
3a4fd53e7a
Merge #930 Fallback to the old Koji tag format for the target name when the tag name is too long
2018-05-08 19:48:56 +00:00
Matt Prahl
9075f600fa
Merge #932 Drop these two deps.
2018-05-08 19:47:46 +00:00
Ralph Bean
5a8764e8d9
py3: The dict-value objects returned by .values() doesn't support addition.
2018-05-08 14:18:00 -04:00
Ralph Bean
d0ae77c324
py3: Unicode strings must be encoded to bytes before hashing.
2018-05-08 14:17:36 -04:00
Ralph Bean
0fff05c5f5
Drop these two deps.
...
They're not needed anymore, right?
2018-05-08 14:05:30 -04:00
mprahl
15a7e322a6
Fallback to the old Koji tag format for the target when the tag name is too long
2018-05-08 09:11:22 -04:00
mprahl
c635e371f9
Version 2.1.0
v2.1.0
2018-05-04 08:08:06 -04:00
Qixiang Wan
062e92e209
Add test case for desc order by context
...
This is a test case for #868
2018-05-03 22:02:54 +08:00
Qixiang Wan
1ca6b61790
Add test for filtering module builds by context
2018-04-28 11:46:36 +08:00
Qixiang Wan
d83e6897ca
Change ModuleBuild.context to db column
...
1. Changed ModuleBuild's context property to db column, it's
non-nullable and default value is '00000000' to keep it consistent
with previous behaviour.
2. Changed ModuleBuild.contexts_from_mmd to return a tuple of
(ref_build_context, build_context, runtime_context, context).
3. Updated tests affected by this change.
2018-04-28 11:46:31 +08:00
Qixiang Wan
8b807a9fcd
Generate koji tag from MBS and use informative name
...
koji now supports tags with max length of 256, we can use
more informative tag name instead of the hash one.
The new format of koji tag name is:
module-<name>-<stream>-<version>-<context>
However when the generated tag's length > (256 - len('build')), we
fallback to the old way of name in hash format (module-<hash>).
In this change, koji tag is always generated from MBS itself, even
with pdc resolver.
FIXES : #918 #925
2018-04-26 22:04:16 +08:00
Matt Prahl
8351713828
Merge #922 Generate 'context' from hash based on buildrequires/requires stream. Reuse components only from module with the same stream_build_context.
2018-04-24 22:50:02 +00:00
Jan Kaluza
8d1d439737
Generate 'context' from hash based on buildrequires/requires stream. Reuse components only from module with the same stream_build_context.
2018-04-24 15:45:26 +02:00
Jan Kaluza
9236133cd2
Fix wrong rebase of #919 .
2018-04-13 13:07:00 +02:00
Jan Kaluza
c1c95fc963
Allow defining list of packages which are blocked in the -build tag until they are built in a module.
2018-04-13 12:57:27 +02:00
Jan Kaluza
5d91c97386
Allow defining list of packages which are blocked in the -build tag until they are built in a module.
2018-04-12 09:45:57 +02:00
Jan Kaluža
b90864e0de
Merge #912 Fix the integration testing scripts when using the latest rpkg code
2018-04-11 06:17:44 +00:00
Jan Kaluza
836fb9db10
Keep the 'module_name:[]' in requires unexpanded in generate_expanded_mmds.
2018-04-06 10:48:59 +02:00
mprahl
2c0f6b2f94
Fix the integration scripts when using the latest rpkg code
2018-04-05 15:46:49 -04:00
mprahl
6cc577b4b9
Version 2.0.2
v2.0.2
2018-04-05 15:06:59 -04:00
Matt Prahl
0535f206cb
Merge #910 Remove unused dependencies
2018-04-05 19:04:18 +00:00
mprahl
05f34598eb
Surface the error to the user when a module dependency can't be found
2018-04-05 14:37:08 -04:00
mprahl
665f55236d
Remove unused dependencies
2018-04-05 13:07:13 -04:00
mprahl
4608f918a4
Version 2.0.1
v2.0.1
2018-04-05 12:26:38 -04:00
Matt Prahl
e38cb0e849
Merge #906 Add the changelog for v2
2018-04-05 16:20:56 +00:00
mprahl
aa990d3de3
Use six instead of future
2018-04-05 11:32:21 -04:00
Matt Prahl
9c603a27ec
Merge #908 Fix a bug in MSE when a module requires a module that isn't also a buildrequire
2018-04-05 15:29:39 +00:00
mprahl
7658b77f9d
Fix dependencies in Dockerfile-tests
2018-04-05 11:20:17 -04:00