Commit Graph

270 Commits

Author SHA1 Message Date
Lubomír Sedlář
b93e0fd4ab spec: Copy %check section from Fedora
It runs the tests only once, runs the expensive preparation of RPMs only
if unit tests succeeded and does not compute coverage (which could not
be examined anyway).

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2017-01-05 13:21:49 +01:00
Lubomír Sedlář
20d035befa spec: Add a separate subpackage for extra utils
This subpackage currently includes:

 * pungi-config-validate
 * pungi-create-unified-isos
 * pungi-fedmsg-notification

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2017-01-04 10:22:20 +01:00
Dennis Gilmore
13c1c4da69 4.1.11 release
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-11-15 15:12:02 -06:00
Qixiang Wan
a5273dc798 Replace mount/umount with guestfsmount and 'fusermount -u'
'mount -o loop' requires root privileges, guestmount from
libguestfs-tools-c package can work without root privileges.

Fixes: #19
Signed-off-by: Qixiang Wan <qwan@redhat.com>
2016-10-20 19:38:35 +08:00
Dennis Gilmore
b2b5dd919b 4.1.10 release
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-10-08 12:15:32 -05:00
Dennis Gilmore
4e90f81fc1 use --new-chroot when making ostree's
to complement https://pagure.io/koji/pull-request/162 we need to adjust pungi
rpm-ostree uses bublewrap that does not work in mock. --new-chroot to mock
enables the use of systemd-nspawn instead of chroot resulting in working
rpm-ostree again

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-09-28 20:58:17 -05:00
Lubomír Sedlář
9a3b0f089e 4.1.9 release
Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-09-21 14:07:21 +02:00
Lubomír Sedlář
f9a6c8418f Add JSON Schema for configuration
The schema is written in Python to reduce duplication. When
configuration is loaded, the validation checks if it's correct and fills
in default values.

There is a custom extension to the schema to report deprecated options.

The config dependencies are implemented as a separate pass. While it's
technically possible to express the dependencies in the schema itself,
the error messages are not very helpful and it makes the schema much
harder to read.

Phases no longer define `config_options`. New options should be added to
the schema. Since the default values are populated automatically during
validation, there is no need to duplicate them into the code.

The `pungi-config-validate` script is updated to use the schema and
report errors even for deeply nested fields.

The dependencies are updated: pungi now depends on `python-jsonschema`
(which is already available in Fedora).

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-09-01 10:56:15 +02:00
Dennis Gilmore
fc23ca5fdf 4.1.8 release
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-08-10 07:21:40 -05:00
Lubomír Sedlář
f37a14fb60 [createiso] Use shell script for runroot
Instead of installing pungi itself in the runroot, we can prepare the
commands to be run on compose box, write the shell script into work/
directory, which is mounted in the chroot, and execute that. This way
there is no business logic in runroot (except for finding lorax
templates).

The main advantage of this approach is that we don't need to pull any
extra dependencies into buildroot.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
2016-08-10 13:39:50 +02:00
Dennis Gilmore
00e11b2f51 4.1.7 release
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-06-23 05:14:21 -05:00
Dennis Gilmore
8de7d685d9 4.1.6 release
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-05-24 16:36:07 -05:00
Dennis Gilmore
00f2e24bce 4.1.5 release
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-05-16 20:56:48 -05:00
Dennis Gilmore
d8272bd0fa 4.1.4 release
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-04-29 15:36:41 -05:00
Dennis Gilmore
4f76425c9f 4.1.3 release
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-04-08 07:34:57 -05:00
Dennis Gilmore
cb271dc5ac enable the compose test
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-04-08 06:47:00 -05:00
Dennis Gilmore
36e7279a5e 4.1.2 release
Signed-off-by: Dennis Gilmore <dennis@ra.ausil.us>
2016-04-06 17:44:40 -05:00
Dennis Gilmore
861a4f5823 fix up spec
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-04-01 09:43:18 -05:00
Dennis Gilmore
f69ca2c5fa 4.1.1 release
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-04-01 09:42:24 -05:00
Dennis Gilmore
133cb97aa0 4.1.0 dev start
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-02-23 12:19:59 -06:00
Dennis Gilmore
f6c4f166bf 4.0.5 release
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-02-23 12:08:33 -06:00
Dennis Gilmore
39ce2556c3 4.0.4 release
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-01-20 09:41:18 -06:00
Dennis Gilmore
a2ace9e05c fix up the pungi-fedmesg-notification script name
fix up spec so that the package builds
2015-12-02 08:50:32 -06:00
Dennis Gilmore
2599a42a14 4.0.3 release
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-09-08 22:06:45 -05:00
Dennis Gilmore
8b1d5ab9b2 4.0.2 release
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-07-24 12:39:14 -05:00
Dennis Gilmore
b53f2ba9bf 4.0.1 release
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-06-11 22:12:58 -05:00
Dennis Gilmore
0da05a8682 update the package Requires to ensure we have everything installed to run pungi-koji
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-06-07 10:57:26 -05:00
Dennis Gilmore
ef7c78cd38 prep for 4.0-0.9 snapshot release
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-06-07 10:31:55 -05:00
Adam Miller
f85fabba8f add createrepo_c Requires to pungi.spec 2015-06-06 13:46:19 -05:00
Luke Macken
4e8e1d4d90 Use libselinux-python instead of subprocess 2015-06-05 10:19:39 -04:00
Dennis Gilmore
ff77a9209c - fix up bad += from early test of implementing different iso labels based on
if there is a variant or not (dennis)

Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2015-05-20 16:38:26 -05:00
Dennis Gilmore
dc1be3eecc prep new snapshot 4.0-0.7 release 2015-05-20 15:23:17 -05:00
Dennis Gilmore
012c749cdb fix up Requires on productmd, it needed renaming to meeting fedora
naming guidelines
2015-03-14 11:58:51 -05:00
Dennis Gilmore
fdc7901127 spec file cleanups 2015-03-12 16:09:23 -05:00
Daniel Mach
f5c6d44000 Initial changes for Pungi 4.0. 2015-02-10 06:47:16 -05:00
Dennis Gilmore
fedc440159 3.13 release 2014-12-12 20:21:03 -06:00
Brian C. Lane
c4dd0e75ed Add support for --installpkgs
This allows the user to add specific packages, or package globs, to the
installer's root via lorax. For example, to build a server product with
the correct product.img you would pass --installpkgs
fedora-productimg-server

This removes the need for the kickstart to use --exclude on the repo
lines and makes it more explicit as to what is being built. This command
mirrors the same command in lorax.
2014-12-09 11:52:53 -06:00
Brian C. Lane
1bd069683c Add python-lockfile requires and drop python-devel 2014-12-09 11:52:53 -06:00
Dennis Gilmore
21021f521a 3.12 release 2014-09-11 11:09:13 -05:00
Dennis Gilmore
1175551e2c 3.11 release3.11 release3.11 release3.11 release3.11 release3.11 release3.11 release3.11 release3.11 release3.11 release3.11 release 2014-07-31 06:04:25 -05:00
Dennis Gilmore
2bb948fce7 3.10 release 2014-07-31 04:25:26 -05:00
Dennis Gilmore
ea8f3909ac 3.09 release 2014-07-30 11:36:11 -05:00
Dennis Gilmore
af9f7520f4 3.08 release 2014-07-23 11:19:20 -05:00
Dennis Gilmore
9d339e774b 3.07 release 2014-07-20 12:04:58 -05:00
Dennis Gilmore
6820ad7c23 3.06 release 2014-07-14 15:42:54 -05:00
Dennis Gilmore
fb3d4ca185 3.05 release 2014-07-09 01:27:55 -05:00
Dennis Gilmore
1ba64d6e6b 3.04 release 2014-04-29 16:29:34 -05:00
Dennis Gilmore
293143d8f1 revert to the old way of doing versioning as the change in 3.01 did not work 2013-10-31 20:22:35 -05:00
Dennis Gilmore
e7d19b70ee 3.02 release 2013-10-31 19:05:59 -05:00
Daniel Mach
cdf9916906 3.01 release 2013-10-27 15:44:10 -04:00
Dennis Gilmore
e04fcc4441 remove if that breaks makefiles 2013-08-20 11:42:51 -05:00
Dennis Gilmore
09ebeccd4d 3.00 release 2013-08-20 11:41:56 -05:00
Daniel Mach
3b6146abc7 Drop dependency on anaconda. Don't depend on lorax and repoview on RHEL. 2013-08-20 11:22:24 -05:00
Dennis Gilmore
d978ca3fa8 2.13 release 2012-12-21 14:57:01 -06:00
Dennis Gilmore
ee88779bb6 prep 2.12 release 2012-08-31 00:43:51 -05:00
Dennis Gilmore
cd1ec8f6ed Prep 2.11 release 2012-04-16 14:59:45 -05:00
Dennis Gilmore
0857d30f82 prep 2.10 release 2012-02-09 18:06:46 -06:00
Dennis Gilmore
59ff9f9068 prep for 2.9 release 2011-07-27 11:48:13 -05:00
Jesse Keating
e215694a6b Prep for 2.8 release 2011-07-18 15:26:22 -07:00
Dennis Gilmore
ebedace49d 2.7 release 2011-05-16 18:04:03 -05:00
Jesse Keating
6e05f8162f New release 2011-04-29 01:45:29 -07:00
Jesse Keating
27cf6a26b4 Release 2.5 2011-01-12 13:52:34 -08:00
Martin Gracik
7deae5840c Lorax patch
Use lorax instead of buildinstall
2011-01-12 13:50:39 -08:00
Jesse Keating
6d480f0896 Prep for release 2010-12-21 14:26:25 -08:00
Jesse Keating
31d6c3d6ef Prep for release 2010-11-15 16:44:47 -08:00
Jesse Keating
9b221ec535 Prep for release and further fix pkgorder issue 2010-10-14 10:52:44 -07:00
Jesse Keating
18143a47a1 Prep for release 2010-10-13 15:40:40 -07:00
Jesse Keating
06c5a94b5b prep for release 2010-06-29 16:00:34 -07:00
Jesse Keating
c6f01468c3 Prep for release 2010-06-04 11:32:05 -07:00
Jesse Keating
ab0b3aa369 Prep for release 2010-04-14 16:14:43 -07:00
Jesse Keating
6ed01b8852 Patch for new anaconda path
This patch came from Chris Lumens via RHBZ 579873
2010-04-14 16:11:10 -07:00
Jesse Keating
b79b50b669 Prep for release 2009-09-15 16:55:12 -07:00
Jesse Keating
d30edb8b6a Prep for release 2009-09-15 14:51:19 -07:00
Jesse Keating
1991a09a48 Prep for release 2009-09-15 14:51:18 -07:00
Bill Nottingham
51f03b32e4 Add corresponding RHEL version check to spec. 2009-09-03 16:18:26 -04:00
Jesse Keating
e434cf4876 Prep for release 2009-08-10 15:00:03 -07:00
Jesse Keating
5d6fc5c543 Prepare for release 2009-05-21 10:34:00 -07:00
Jesse Keating
a859efe4a9 Prep for release 2009-05-19 11:27:48 -07:00
Jesse Keating
076ba206cb Prep for release again 2009-04-13 16:17:35 -07:00
Jesse Keating
b28d842bec Prep for release 2009-04-13 16:12:25 -07:00
Jesse Keating
979c0b5e94 Prep for release 2009-03-24 10:04:00 -07:00
Jesse Keating
9d831bc470 Prep for release 2009-03-11 17:51:57 -07:00
Jesse Keating
ea148b8b1c Prep for release 2009-03-09 10:56:43 -07:00
Jesse Keating
923a0c9392 Prep for release 2009-02-11 17:15:13 -08:00
Jesse Keating
5a00b479b7 Update from ivasquez for python version changes. 2008-12-04 16:39:12 -08:00
Jesse Keating
dbf82cce09 Prep for release 2008-12-04 16:36:14 -08:00
Jesse Keating
a8a1aa0149 Prep for another release 2008-11-04 15:32:29 -08:00
Jesse Keating
14771fb5ef Prep for release 2008-11-04 15:13:30 -08:00
Jesse Keating
d77a180f29 Prep for release 2008-10-09 13:19:51 -07:00
Jesse Keating
94828b34fb New release 2008-09-12 14:07:35 -07:00
Jesse Keating
6fc3d4ff79 Prep for release 2008-08-11 11:24:13 -04:00
Jesse Keating
6ae28edb54 Prep for release 2008-07-15 19:03:53 -04:00
Jesse Keating
0517ef0782 Prep for release 2008-07-11 14:31:28 -04:00
Jesse Keating
3c979842b4 Prep for release 2008-06-24 10:30:41 -04:00
Jesse Keating
af2d5a1e58 Fix setup.py and pungi.spec for pkgorder.
Test first, then commit.  *sigh*
2008-06-23 10:54:45 -04:00
Jesse Keating
953ee3addf Prepare for 2.0.0 release. woo! 2008-06-13 18:26:36 -04:00
Jesse Keating
203f152239 Prep for release 2008-05-06 12:39:24 -04:00
Jesse Keating
58c08e04eb prep for release 2008-05-01 11:48:50 -04:00
Jesse Keating
2455411091 Require a sufficient version of createrepo (Jeroen van Meeuwen) 2008-04-17 07:25:57 -04:00
Jesse Keating
24641ddfbe Fix another problem with src repo generation, handle flavor. 2008-04-16 23:04:25 -04:00
Jesse Keating
b71ae43cc5 Add back changes I missed somehow:
Fix srpm repodata making
2008-04-16 22:22:14 -04:00
Jesse Keating
c0d44a06a6 Prepare for release. 2008-04-16 18:27:26 -04:00
Jesse Keating
ac609004b2 Prep for new release 2008-04-01 14:34:38 -04:00
Jesse Keating
007effec74 Prep for release 2008-03-14 16:56:33 -04:00
Jesse Keating
aa358c1517 Fix srpm stuff 2008-03-14 16:55:28 -04:00
Jesse Keating
6373d57d22 Make CDs fit again by default 2008-03-13 23:02:29 -04:00
Jesse Keating
66a6d6eafd More chnages for netinst.iso/boot.iso 2008-03-11 14:42:41 -04:00
Jesse Keating
0a9dffe2a5 Prep for release 2008-03-05 22:27:59 -05:00
Jesse Keating
e2f79e49f6 Handle netinst.iso files. 2008-03-03 16:09:53 -05:00
Jesse Keating
b623f31621 Prep for release. 2008-02-28 17:13:56 -05:00
Jesse Keating
1a5e874d84 Commit spec change that I forgot to a while ago. 2008-02-08 15:05:58 -05:00
Jesse Keating
6f8c7be932 Prep for release 2008-01-22 15:06:43 -05:00
Jesse Keating
6d0d5e5839 prep for dist.
Use bzip2 (so trac can see it)
2008-01-02 17:41:54 -05:00
Jesse Keating
a18974c12c Fix up for file moves. 2007-12-14 23:14:21 -05:00
Jesse Keating
fa1fc86b8d Remove extra files from tarball 2007-12-10 18:29:15 -05:00
Jesse Keating
eb3083c94a Third time's the charm... 2007-12-10 18:18:40 -05:00
Jesse Keating
1c76dd3722 Handle egg generation in the spec file. 2007-12-10 18:04:55 -05:00
Jesse Keating
302a5ab5db Prepare for release 2007-12-10 17:17:19 -05:00
Jesse Keating
5e0fad1742 Prepare for release
Drop the f8 file, add a rawhide ks file.
2007-12-04 10:05:58 -05:00
Jesse Keating
c60c9b443e Prep for release 2007-11-22 09:31:15 -05:00
Jesse Keating
930f0f2667 Fix regets. 2007-10-29 16:26:42 -04:00
Jesse Keating
53301b5313 Add eclipse 2007-10-27 12:17:39 -04:00
Jesse Keating
400ff52477 - Add java-development to the group set. 2007-10-23 17:20:01 -04:00
Jesse Keating
4b4a2d2f32 Prep for release. 2007-10-19 14:33:26 -04:00
Jesse Keating
adbc4c787c prep for release. 2007-10-11 14:00:47 -04:00
Jesse Keating
6c4913c169 Make a release 2007-10-02 15:50:02 -04:00
Jesse Keating
ddab468b43 Make a release 2007-09-26 14:59:36 -04:00
Jesse Keating
835188ac2c - Fix location of media.repo file. 2007-09-25 21:26:59 -04:00
Jesse Keating
371c782b81 prep for release 2007-09-18 16:31:52 -04:00
Jesse Keating
93ad1c3f57 Release 1.1.0 2007-09-17 17:31:03 -04:00
Jesse Keating
ee22bb65ae - Create repoview content in the tree 2007-09-14 17:48:56 -04:00
Jesse Keating
f074a600de Use a better method to get the ks method into a repo.
Requires a newer version of pykickstart, indicate such in the spec.
2007-09-12 17:38:01 -04:00
Jesse Keating
e7779582c3 Install the man page in the spec file
reference new README location
2007-09-11 17:32:34 -04:00
Jesse Keating
c88e50ee5e Fix creation of source isos.
Add source repo to kickstart file
End %packages section with %end per new pykickstart api
2007-08-30 16:56:08 -04:00
Jesse Keating
ae78aea673 Default the flavor to blank. 2007-08-28 23:42:25 -04:00
Jesse Keating
b8457e64d5 1.0.0 release. Woohoo!
Remove dead config files.  No longer use an /etc directory.
2007-08-27 14:17:42 -04:00
Jesse Keating
b8b7d763f9 - Add a cache dir for pungi (/var/cache/pungi) and a cli option to override
- Fix some typos
- Handle cache dir not being on same file system
2007-08-26 19:44:38 -04:00
Jesse Keating
6feda08320 - Get group files out of configured repos and create a mashup
of the comps.  Filter it and make use of it when creating repos.
- Move _doRunCommand into pypungi/__init__.py so that it can be
  easily used by all modules.  Also pass in a logger for correct
  logging
- Quiet down creatrepo calls
2007-08-24 20:45:54 -04:00
Jesse Keating
4d270948dd Prep for release 2007-08-21 22:04:07 -04:00
Jesse Keating
1b1a81b2c7 - Create a new yum object for source downloads as yum
Fixes a problem where yum object resetting is not currently working
2007-08-01 16:38:57 -04:00
Jesse Keating
829f90aa5f When reising an error, print the error too.
bump for release
2007-07-28 11:02:20 -04:00
Jesse Keating
7eff6de180 release 0.3.9 2007-07-24 12:43:08 -04:00
Jesse Keating
d612ffdfb3 Release 0.3.8 2007-06-20 14:04:02 -04:00
Jesse Keating
1eb9ea938f prep for release and update comps file 2007-05-30 10:46:55 -04:00
Jesse Keating
0e7a34a453 prep for dist 2007-05-25 14:30:13 -04:00
Jesse Keating
5c6905f6ff Change the version correctly 2007-05-24 08:56:16 -04:00
Jesse Keating
1dfca44ec1 Prep for release 2007-05-24 08:52:02 -04:00
Jesse Keating
defce836a2 Prep for release 2007-05-24 02:06:33 -04:00
Jesse Keating
7baf239914 Prepare for release 2007-05-23 12:44:08 -04:00
Jesse Keating
784bf5ec41 Release 0.3.2 2007-05-21 12:08:30 -04:00