Commit Graph

132 Commits

Author SHA1 Message Date
Jesse Keating
c550c16f62 Make sure we don't include the 'sha1:' in the iso SHA1SUM file. 2008-09-30 15:46:59 -07:00
Jesse Keating
94828b34fb New release 2008-09-12 14:07:35 -07:00
Jesse Keating
08fc496a36 Revert "Yum api changed with regard to adding conditionals. Need to pass in just a name"
This reverts commit bc18a1d4f3.

Reverting because yum api reverted back to the way it was.
2008-09-11 13:32:01 -07:00
Jesse Keating
a82d29ccaa Add input-methods. It's a new group, need to get ordering right. 2008-09-11 13:25:39 -07:00
Jesse Keating
e101067357 Make sure we output sha1sums in binary mode. This helps windows. 2008-09-10 15:36:49 -07:00
Jesse Keating
9ca05af1e9 Yum api changed, follow so that we don't break. 2008-08-29 10:55:25 -07:00
Jesse Keating
bc18a1d4f3 Yum api changed with regard to adding conditionals. Need to pass in just a name
rather than a package object.  Also call searchName since that's all we care about.
2008-08-11 22:47:39 -04:00
Jesse Keating
6fc3d4ff79 Prep for release 2008-08-11 11:24:13 -04:00
Jesse Keating
768ab66ee6 isolist is already relative, there is no need to call mkrelative. 2008-08-05 23:25:14 -04:00
Jesse Keating
7326b388c3 Fix up some references due to moving the yum init into it's own function. 2008-08-05 22:49:05 -04:00
Jesse Keating
e9e0a1880c Move the yum object initialization to it's own function.
This is necessary so that we can get a pypungi object without having to
init the repositories.
2008-08-05 15:36:08 -04:00
Jesse Keating
bdaf3a662a Grab ppc images checksums too for our info file. 2008-08-05 14:34:37 -04:00
Jesse Keating
f253e2e8bb Make sure we write out relative paths for the infofile 2008-08-04 17:57:53 -04:00
Jesse Keating
5beb34227e Change slightly the output of _doCheckSum so that it's type:hash for easier parsing. 2008-08-04 17:04:19 -04:00
Jesse Keating
be8b06d523 Make sure we get relative paths to the images. 2008-08-04 16:57:05 -04:00
Jesse Keating
7d92748838 Don't try to make debuginfo repos for source arch. 2008-07-16 13:31:17 -04:00
Jesse Keating
8331ae9e0f Remove the unused discs option. We determine disc number on the fly. 2008-07-15 23:09:57 -04:00
Jesse Keating
6ae28edb54 Prep for release 2008-07-15 19:03:53 -04:00
Jesse Keating
2b5ed26466 Remove some debugging code... 2008-07-15 18:36:07 -04:00
Jesse Keating
116a0df898 Don't read the entire file at once. This will run machines out of memory.
Also, always use binary mode on the files, or else our hashes will be odd.
2008-07-15 18:10:19 -04:00
Jesse Keating
74e014707a Checksum various files from buildinstall output and put them in .treeinfo
This will be used by a verify-tree like tool that will ensure that the
content on disk matches what the compose tool thinks it should.
2008-07-15 15:53:11 -04:00
Jesse Keating
ec8b64e6cf Use new hashsum utility to generate sha1sums of isos.
Call a generic function each time we create an iso file.
2008-07-14 23:27:40 -04:00
Jesse Keating
38bd19ea9a Add a utility to generate a hashsum of a file 2008-07-14 23:26:52 -04:00
Jesse Keating
0517ef0782 Prep for release 2008-07-11 14:31:28 -04:00
Jesse Keating
3e62130a6c Create debuginfo metadata when creating metadata, if we've gathered debuginfo
Move cachedir to a variable definition since we use it more than once.
2008-07-09 18:08:12 -04:00
Jesse Keating
7c2e8593c8 Add a function to download the debuginfo packages we found. 2008-07-09 18:07:50 -04:00
Jesse Keating
26795667ac Add a function to get debuginfo packages to match the other packages we've gathered.
This has a couple hardcoded special cases for kernel and glibc for the -common debuginfo
Try to match the original po as close as possible.
2008-07-09 18:07:42 -04:00
Jesse Keating
cbe47772c9 Change _filtersrc to _filtersrcdebug and call it appropriately.
We now need to filter out debuginfo packages so that we can add the
debuginfo repos to the ks file
2008-07-09 18:07:13 -04:00
Jesse Keating
3cc980b49d Add a config item for debuginfo
We need this as a config object so that we can use it later when
making repodata.
2008-07-09 18:07:13 -04:00
Jesse Keating
874853e78b Add a nodebuginfo option to handle gathering or not gathering of debuginfo packages
Set a config item for it so that we can use it later when creating repodata
Discover and gather debuginfo packages if necessary.
2008-07-09 18:07:05 -04:00
Jesse Keating
3c979842b4 Prep for release 2008-06-24 10:30:41 -04:00
Jesse Keating
15c5b80e87 Take ownership of pkgorder and splittree.py; call appropriately
These two files have been removed from anaconda sources, so we
are taking ownership of them.  We will likely rewrite some of these
but the plan is to keep them as 'utility' type tools so that they
can be used without creating full pungi objects.
2008-06-23 10:27:30 -04:00
Jesse Keating
953ee3addf Prepare for 2.0.0 release. woo! 2008-06-13 18:26:36 -04:00
Jesse Keating
151e3b134e We use sys here too 2008-06-13 13:48:09 -04:00
Jesse Keating
3b955cc823 Fix some typos and handle the fact that baseurl is a list, where as mirrorlist isn't. 2008-06-13 13:47:31 -04:00
Jesse Keating
379020e5c5 Add functionality to pass multiple repos, mirrorlists, and output directory to buildinstall. 2008-06-13 12:56:45 -04:00
Jesse Keating
64e5734178 Add our util.py file with all the "utility" functions. 2008-06-12 11:43:57 -04:00
Jesse Keating
a81ead6181 Move utility functions to util.py; call appropriately.
Also fix some whitespace issues (hey, it's my project, I can do whitespace changes)
2008-06-12 11:36:47 -04:00
Jesse Keating
a9249e3c31 Don't import the files that I've removed. 2008-06-12 11:24:54 -04:00
Jesse Keating
043a799b25 Adjust calls to the single class, only create the object once. 2008-06-12 09:06:19 -04:00
Jesse Keating
4627931835 remove pungi.py 2008-06-12 09:00:53 -04:00
Jesse Keating
3b89e4586b Collapse all of pungi.py to __init__.py 2008-06-12 09:00:43 -04:00
Jesse Keating
4ae0dc35e8 Change permissions on pungi.py, remove gather.py 2008-06-12 08:56:43 -04:00
Jesse Keating
b45c700be8 Collapse all of Gather and Pungi into one class/file. 2008-06-12 08:55:42 -04:00
Jesse Keating
1b58d024a3 Repo cost is now actually referenced as 'cost'. 2008-06-04 16:28:35 -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
24641ddfbe Fix another problem with src repo generation, handle flavor. 2008-04-16 23:04:25 -04:00
Jesse Keating
e7430529af Prep for release. 2008-04-16 22:23:24 -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
b1bd3c7a46 Support repo costs. (pykickstart calls this priority for now) 2008-04-15 07:08:35 -05:00
Jesse Keating
5d33519dbf Disable the comps cleanup until it works again. 2008-04-14 21:33:45 -05:00
Jesse Keating
ac609004b2 Prep for new release 2008-04-01 14:34:38 -04:00
Jesse Keating
13d6ed35ee Correct the api call to comps. 2008-03-25 17:14:11 -04:00
Jesse Keating
65c7bdf6de Use yum's method to write out a unified comps. 2008-03-25 17:06:21 -04:00
Jesse Keating
51f5969e49 handle shared source dirs when gathering. 2008-03-21 15:56:22 -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
bd4eea43d0 - Don't pass --prodpath to buildinstall. It won't like it. 2008-03-14 13:12:12 -04:00
Jesse Keating
6373d57d22 Make CDs fit again by default 2008-03-13 23:02:29 -04:00
Jesse Keating
f29a4ca8b1 Make CDs fit again 2008-03-12 16:46:23 -04:00
Jesse Keating
5c106b05d8 Use the right link call. 2008-03-12 16:44:03 -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
a08871a741 Exclude repoview from isos. 2008-03-05 22:26:43 -05:00
Jesse Keating
7405122981 Fix ppc split iso generation 2008-03-05 13:45:17 -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
7b27cd5c8b Don't traceback when moving repodata out for split media. 2008-02-28 16:29:46 -05:00
Jesse Keating
706184a97f Don't force clean the repodata, some of it can be reused.
Always make sure we get a clean repomd.xml to compare against the rest of the files.
2008-02-28 12:23:33 -05:00
Jesse Keating
eb1a47579f Handle gzipped comps files. 2008-02-21 18:04:39 -05:00
Jesse Keating
923ea6fa1a Fix comps issue for older repos. 2008-02-08 15:04:56 -05:00
Jesse Keating
6f8c7be932 Prep for release 2008-01-22 15:06:43 -05:00
Jesse Keating
b2cf9776ea Rework how repodata gets generated for media.
Necessary as anaconda doesn't handle split metadata being on the
DVD anymore.
2008-01-22 14:44:14 -05:00
Jesse Keating
3ce7826b06 Don't try to close() a file that gets autoclosed due to readlines(). 2008-01-21 17:32:37 -05:00
Jesse Keating
34bb3d57fc Don't fiddle with editing the .discinfo file. It's just confusing for no good reason. 2008-01-21 17:32:08 -05:00
Jesse Keating
bbbcc1dff8 Always use the discinfo file from the exploaded tree. It doesn't change. Also, close the file when we're done. 2008-01-21 17:13:54 -05:00
Jesse Keating
7de5f15356 use createrepo api 2008-01-21 17:09:02 -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
1402ef4414 - Always add the core comps group. 2007-12-17 15:12:25 -05:00
Jesse Keating
2cb4e338f7 Adjust layout, will help with using eclipse 2007-12-14 22:41:08 -05:00