Commit Graph

  • 5b278211e6 Add API v2 which will return a list of modules on build submissions based on module stream expansion mprahl 2018-03-19 20:44:45 -04:00
  • 41814b42de Add siblings to the extended JSON output of module builds mprahl 2018-03-19 20:10:46 -04:00
  • 8dfdeaf33b Use the latest libmodulemd in the Vagrant environment mprahl 2018-03-19 21:02:11 -04:00
  • 26d49f23ec Install python-solv in Vagrant mprahl 2018-03-19 16:14:22 -04:00
  • 0c7fab3f65 Update Vagrant to use Fedora 27 mprahl 2018-03-19 21:01:18 -04:00
  • da95c94528 Support resolving MMDs without any buildrequire. Jan Kaluza 2018-03-16 10:48:42 +01:00
  • 6fc8c646de Add 'mbs-manager import_module'. Jan Kaluza 2018-03-09 10:47:08 +01:00
  • 1d46b332b3 Requires version 1.0 of Modulemd Jan Kaluza 2018-03-16 10:04:01 +01:00
  • e5e9a24fce Allow adding bool to XMD. Fix flake8 issues. Jan Kaluza 2018-03-14 08:29:23 +01:00
  • 2482e47c07 Fix issues from review. Drop xmd['mbs']['requires']. Do not allow building MSE builds against non-MSE builds. Jan Kaluza 2018-03-13 11:25:18 +01:00
  • 31ddbe51a5 Add generate_expanded_mmds which returns list of MMDs which can be submitted as MSE builds and submit them. Jan Kaluza 2018-03-02 14:38:04 +01:00
  • 90f292c7f5 tests/mmd_resolver: add test for multiple runtime requires Igor Gnatenko 2018-03-08 08:59:11 +01:00
  • 32d053dd98 tests/mmd_resolver: simplify testing Igor Gnatenko 2018-03-07 22:05:42 +01:00
  • d38d55451d tests/mmd_resolver: test empty inclusion/exclusion dependency Igor Gnatenko 2018-03-07 19:50:43 +01:00
  • 85af781920 mmd_resolver: add support for streams exclusion Igor Gnatenko 2018-03-07 18:12:42 +01:00
  • ebd6dba78f mmd_resolver: allow configuring output of solve() by policy Igor Gnatenko 2018-03-06 21:47:26 +01:00
  • 52e73b64c2 mmd_resolver: store alternatives per source package Igor Gnatenko 2018-03-06 10:15:37 +01:00
  • e3490d129a mmd_resolver: generate combinations only for top-level dependencies Igor Gnatenko 2018-03-05 22:32:22 +01:00
  • ee43b1bb7d Flake8 fixes mprahl 2018-03-02 17:36:02 -05:00
  • eb0b2e1c38 Add the database resolver plugin mprahl 2018-03-02 13:16:04 -05:00
  • d338a390b9 Set local builds to the ready state on import mprahl 2018-03-02 17:24:26 -05:00
  • c925ebbd34 tests/mmd_resolver: add tests for multi-dependency modules Jan Kaluža 2018-03-01 13:36:57 +01:00
  • 0f26e1af62 tests/mmd_resolver: deduplicate code for generation test modules Igor Gnatenko 2018-03-01 13:18:14 +01:00
  • 8174b933b0 tests/mmd_resolver: add support for multi-dependency modules Igor Gnatenko 2018-03-01 13:04:10 +01:00
  • 9d3bcf4a06 mmd_resolver: replace asserts with meaningful exceptions Igor Gnatenko 2018-03-01 16:18:30 +01:00
  • 7cbd0a0301 mmd_resolver: rework solvables generation Igor Gnatenko 2018-02-28 19:42:48 +01:00
  • 060275f094 mmd_resolver: remove useless provides from modules Igor Gnatenko 2018-02-28 20:03:15 +01:00
  • 652c445b2c mmd_resolver: simplify conflict rule Igor Gnatenko 2018-02-28 19:49:27 +01:00
  • 9ce5dffb14 mmd_resolver: rewrite function for finding alternatives Igor Gnatenko 2018-02-28 19:07:49 +01:00
  • 4ff944477d mmd_resolver: set 'src' arch for build repo solvables Igor Gnatenko 2018-02-28 18:04:33 +01:00
  • e7587cb77b add MMDResolver to find possible combinations between modules Jan Kaluža 2018-02-27 13:12:00 +00:00
  • 253d29bcef Rewrite ModuleBuild methods to get all streams and all builds using the latest version, not build id. Jan Kaluza 2018-03-01 15:57:45 +01:00
  • 28e821fee0 Start querying modules by context when it's available mprahl 2018-03-01 20:31:00 -05:00
  • f19f76872c Use the build object directly instead of its JSON in the modules handler mprahl 2018-03-01 19:43:43 -05:00
  • d3f92bf5d3 Make the resolver functions less PDC specific mprahl 2018-03-01 19:31:02 -05:00
  • e22cbbab31 Add get_modules_build_required_by_module_recursively to get the input for libsolv solver. Jan Kaluza 2018-03-01 13:18:06 +01:00
  • 1bbe8d69f1 Add ModuleBuild methods for getting list of streams, last build in a name:stream and all builds in name:stream:version. Jan Kaluza 2018-02-28 14:44:14 +01:00
  • f0852d9009 Port to libmodulemd and support v2 modulemd without module stream expansion mprahl 2018-02-27 13:29:00 -05:00
  • 329a7acd76 Add GLib.Variant helpers Nils Philippsen 2018-02-28 08:04:21 -05:00
  • 2ace817afd Remove duplicate _get_module call mprahl 2018-02-26 20:22:29 -05:00
  • 9b1a8cf4f0 Code for Jenkins to run both py27 and py3 tests Yash Nanavati 2018-03-05 16:58:08 -05:00
  • ed25afd9ec Code changes for Python 3 support Yash Nanavati 2018-03-01 13:32:16 -05:00
  • 680da620d7 Merge #870 Minor changes towards Python 3 Compatability Matt Prahl 2018-02-28 14:08:53 +00:00
  • 1d3fd2af64 Minor changes towards Python 3 Compatability Yash Nanavati 2018-02-26 21:51:47 +00:00
  • 654820ac31 Fix error that occurs when a batch hasn't started but a repo regen message is received mprahl 2018-02-19 13:51:35 -05:00
  • d6fd203ac0 Disable tox envs that we don't use mprahl 2018-02-09 09:16:10 -05:00
  • f5530d9b16 Fix flake8 errors made by jkaluza mprahl 2018-02-09 09:12:00 -05:00
  • 6a5d7267fd Save another 20s in tests. Jan Kaluza 2018-02-09 11:46:12 +01:00
  • fb1463a036 Remove zeromq time.sleep(1) to make tests even faster. Jan Kaluza 2018-02-08 20:14:53 +01:00
  • e1ed09d0a2 Merge #860 Decrease time.sleep times in tests to save 60 seconds for test-suite run. Matt Prahl 2018-02-08 15:40:45 +00:00
  • 683056de0a Decrease time.sleep times in tests to save 60 seconds for test-suite run. Jan Kaluza 2018-02-08 09:03:32 +01:00
  • 4001d3c488 Use in-memory SQLite database in tests to make them 40% faster. Jan Kaluza 2018-02-07 13:55:12 +01:00
  • bc3412683a Update to v1.7.0 v1.7.0 mprahl 2018-02-07 15:18:44 -05:00
  • e77ce2c5b1 Fix flake8 errors mprahl 2018-02-07 15:01:49 -05:00
  • a5c174d9d3 Merge #858 Make components reuse faster by getting the 'previous_module_build', 'mmd' and 'old_mmd' from DB just once. Matt Prahl 2018-02-07 19:56:29 +00:00
  • f32367cee9 Make components reuse faster by getting the 'previous_module_build', 'mmd' and 'old_mmd' from DB just once. Jan Kaluza 2018-02-07 11:22:16 +01:00
  • bb865758cb Merge #857 Don't fail a module build when there are no buildrequires Matt Prahl 2018-02-07 11:59:09 +00:00
  • d06bd3a49e Don't fail a module build when there are no buildrequires mprahl 2018-02-06 09:33:54 -05:00
  • 575c2b8f05 Make the poller not resume paused module builds if there was recent activity on the build mprahl 2018-02-06 09:03:34 -05:00
  • f16bf5f5a5 Add a SQLAlchemy hook to modify "time_modified" on module build entries mprahl 2018-02-06 10:33:45 -05:00
  • 183c74d758 Add .pytest_cache to .gitignore mprahl 2018-02-06 10:45:00 -05:00
  • 8f024e6b04 Remove the dependency on vcrpy in unit tests and modernize some of the test data mprahl 2018-02-05 11:45:20 -05:00
  • ea650047a1 Use a random build_id instead of an incrementing one in FakeModuleBuilder mprahl 2018-02-05 22:05:52 -05:00
  • b7998d4402 Remove the need for nose and solely rely on pytest mprahl 2018-02-05 16:14:15 -05:00
  • 0fd29b33c3 Removed unneeded timed decorators on test_build tests mprahl 2018-02-05 16:13:44 -05:00
  • 63e39232a4 Add "-v" to the pytest command when run in tox mprahl 2018-02-05 12:55:29 -05:00
  • 5795a5017a Don't ignore the tox flake8 test mprahl 2018-02-05 12:21:53 -05:00
  • e820fe655c Remove duplicate test that tests a module resubmission mprahl 2018-02-02 15:58:46 -05:00
  • 0f13164ac8 Use a set instead of a list when making sure the buildrequires match on a modulemd mprahl 2018-02-05 22:11:04 -05:00
  • 6b3cc64711 Use a FileStorage object instead of a tuple when testing direct modulemd submissions mprahl 2018-02-01 17:12:04 -05:00
  • fa0020d164 Properly get the module name when a YAML file is submitted mprahl 2018-02-01 17:09:16 -05:00
  • 4fcb432a33 Fix PDCClient calls to unreleasedvariants mprahl 2018-01-31 16:30:41 -05:00
  • 8afa30a324 Make the import to PDCClient consistent for easier mocking mprahl 2018-01-31 16:22:21 -05:00
  • e91d09f7ca Change the format of the unit tests to pytest mprahl 2018-01-30 19:03:28 -05:00
  • fb8e9cf02c Merge #851 Set the owner on Koji CG builds Matt Prahl 2018-01-31 00:28:18 +00:00
  • 83978c66df Merge #849 Use external repos tied to the Koji tags on local builds Matt Prahl 2018-01-31 00:27:12 +00:00
  • df594da8a5 Remove the Koji proxyuser functionality mprahl 2018-01-30 11:35:04 -05:00
  • 477fa2ed6a Set the owner on Koji CG builds mprahl 2018-01-30 09:05:35 -05:00
  • 2651d53603 Use external repos tied to the Koji tags on local builds mprahl 2018-01-29 14:34:04 -05:00
  • 2a018a649f Add consistency to the type of quotes used in "buildroot_add_repos" mprahl 2018-01-29 14:33:35 -05:00
  • 5b4a8f6240 New: Resolver API for pluggable resolvers Filip Valder 2017-12-11 20:11:03 +01:00
  • 68afd52fd3 Add additional checks in test-mbs-fedora-staging-resume.sh mprahl 2018-01-23 10:00:56 -05:00
  • 98a2221a8c Bump the version to 1.6.3 v1.6.3 mprahl 2018-01-23 10:05:24 -05:00
  • 94aff8935e Reset the component state reasons when a module build is resumed mprahl 2018-01-23 09:42:38 -05:00
  • 667e946444 Reset the module-build-macros state when building it from a resumed module build mprahl 2018-01-23 09:41:59 -05:00
  • 2dfa3ce484 Bump the version to 1.6.2 v1.6.2 mprahl 2018-01-22 15:42:43 -05:00
  • bf80ce4537 Don't traceback on failed task cancellations and log those exceptions mprahl 2018-01-22 15:20:41 -05:00
  • 3c07ea38e4 Cancel new repo tasks on module build failures mprahl 2018-01-22 14:30:42 -05:00
  • dc2ce33f7a Bump the version to 1.6.1 v1.6.1 mprahl 2018-01-22 13:38:33 -05:00
  • 7b7211e4ee Fix an error that occurs when a module build is resumed and module-build-macros was cancelled mprahl 2018-01-22 13:02:18 -05:00
  • c76bd96154 Bump the version to 1.6.0 v1.6.0 mprahl 2018-01-22 10:51:49 -05:00
  • 601cd64a2a Add a change log mprahl 2018-01-22 10:51:22 -05:00
  • 0da5def20f Merge #839 Move the Vagrant synced folder to /opt/module_build_service Ralph Bean 2018-01-22 08:02:20 +00:00
  • a48cb841fb Merge #841 Use Koji repos if possible during local builds Matt Prahl 2018-01-19 13:45:35 +00:00
  • 55d07aa8f5 Use Koji repos if possible during local builds mprahl 2018-01-18 17:01:44 -05:00
  • 7e6b54dd54 Address modules in the test suite with id=0. Ralph Bean 2018-01-18 14:49:27 -05:00
  • ff18d76dc4 Move the Vagrant synced folder to /opt/module_build_service mprahl 2018-01-18 14:00:06 -05:00
  • 01c8295269 Add an incrementing prefix to the dist_hash. Ralph Bean 2018-01-15 15:50:41 -05:00
  • 482a846659 Fix CentOS CI mprahl 2018-01-15 14:50:34 -05:00
  • 430ac4ba31 Use the "build_context" field when evaluating if a previous module's buildrequires changed mprahl 2018-01-15 11:51:34 -05:00