Commit Graph

101 Commits

Author SHA1 Message Date
Jesse Keating
7f0cd87c4f pychecker clean up, don't overload 'file' 2009-08-04 14:40:32 -07:00
Jesse Keating
05c51e4b96 Cleanup from pychecker, remove unused items. 2009-08-04 14:36:17 -07:00
Jesse Keating
eb3caa4161 Kill extra whitespace 2009-08-04 14:23:55 -07:00
Jesse Keating
cd466ce546 Remove unused functions in splittree 2009-08-04 14:21:59 -07:00
Jesse Keating
179d3cd678 Fix boot.iso showing up on DVD and potentially split media. 2009-05-21 10:31:35 -07:00
Jesse Keating
8a15ecca80 Use the new splittree method of dynamic srpm cd splitting 2009-05-18 15:37:31 -07:00
Jesse Keating
a73e976bc8 Create a new function to create the splitSRPM dirs
Use this function to create split SRPM dirs on the fly
2009-05-18 14:33:18 -07:00
Jesse Keating
ff3b72a97e Don't set the number of discs we have until after splittree is done.
Splittree now splits as needed, so we can't possible know how many
discs we'll be making until it is done.  This also means that
splittree requires less input from us.
2009-05-15 13:00:40 -07:00
Jesse Keating
e377f015df Use the new function to create the first split dir only. 2009-05-15 12:22:04 -07:00
Jesse Keating
038a98a2d3 Make splits on demand rather than pre-create a hard set of splits. 2009-05-15 11:19:26 -07:00
Jesse Keating
9012c9fd41 Add two new functions to help with creating split dirs on demand.
createFirstSplitDir is called for the first split.
createSplitDir is called for all other splits.
2009-05-15 11:17:23 -07:00
Bill Nottingham
0074f79e5d Add a method that completes the package set with all subpackages of currently used source rpms.
In other places, this method could be called No Package Left Behind.

Signed-off-by: Bill Nottingham <notting@redhat.com>
2009-04-13 16:16:31 -07:00
Bill Nottingham
63adcfcc7c Create dicts to map between source and binary packages.
This avoids repeating the operation many times later if we do it
on demand each time.

Signed-off-by: Bill Nottingham <notting@redhat.com>
2009-04-13 16:16:20 -07:00
Bill Nottingham
e437dd7f7f Remove obsolete code.
Signed-off-by: Bill Nottingham <notting@redhat.com>
2009-04-13 16:16:07 -07:00
Bill Nottingham
28412ffc8f Resolve package build dependencies.
Since each package we add for build dependencies may add a new source rpm
to our list, this needs to recurse.

Signed-off-by: Bill Nottingham <notting@redhat.com>
2009-04-13 16:15:40 -07:00
Bill Nottingham
f46d84ed73 Operate on source rpm package objects, not a list that is then turned into package objects.
Signed-off-by: Bill Nottingham <notting@redhat.com>
2009-04-13 16:15:21 -07:00
Bill Nottingham
9ecb4c5dc3 Allow ignoring of group metadata from repos.
Signed-off-by: Bill Nottingham <notting@redhat.com>
2009-04-13 16:15:05 -07:00
Jesse Keating
c484a26f44 Pad the ppc bootable disks by 15 megs, lots of isofs overhead. 2009-04-07 18:09:00 -07:00
Jesse Keating
44c4028447 Add a function to deselect packages, stolen from Anaconda.
Use deselectPackage to deslect things marked with - in kickstart.
More in line with how anaconda treats them.
2009-04-07 15:03:46 -07:00
Jesse Keating
e3d6cf508d Disable arch test for now, it was tripping i386/i586 for no good reason. 2009-03-04 13:45:44 -08:00
Jesse Keating
bdf3b118aa Fix size estimation in splittree.
This while file needs a major rework, but this gets us correct
size estimations when building up discs.
2009-02-12 11:26:48 -08:00
Jesse Keating
5216793a69 Count all copies of a hardlink when determining CD size for now,
until bug #485167 is fixed.
2009-02-11 17:09:04 -08:00
Jesse Keating
6843a12485 Fix unique md file config setting. 2009-02-10 16:21:17 -08:00
Jesse Keating
7dc76be687 Name the checksum file after the isos being generated. 2009-02-10 16:21:11 -08:00
Jesse Keating
9b77cea3b7 Use sha256 in the treeinfo file 2009-02-10 14:52:01 -08:00
Jesse Keating
90ef65f192 Use sha256 for iso checksums 2009-02-10 14:50:46 -08:00
Jesse Keating
e073e0a032 More generisizing of _doIsoChecksum 2009-02-10 14:49:59 -08:00
Jesse Keating
c0e7d8afe5 Rename _doIsoSha1 to _doIsoChecksum to future proof. 2009-02-10 14:47:37 -08:00
Jesse Keating
074879de5c Use unique md file names for repodata. 2009-02-05 14:24:32 -08:00
Jeroen van Meeuwen (Fedora Unity)
dee9472d0c Do not include boot.iso on any disc 2009-02-05 14:22:35 -08:00
Jeroen van Meeuwen (Fedora Unity)
c4004dd307 Prevent errors from happening by accidently inserting a line between two extraargs.append() calls with options that belong together 2009-01-29 17:56:57 -08:00
Jesse Keating
972240b972 Don't ship boot.iso on cd1 or the DVD. It just wastes space. 2009-01-28 16:02:48 -08:00
Jesse Keating
3ca7a26682 'default' is now a reserved config section. We can't use it anymore. 2008-12-04 15:44:34 -08:00
Jesse Keating
208fe34cc5 Make sure that split SRPMS have the right working size to match that
of the binary splits.
2008-11-24 15:49:44 -08:00
Jesse Keating
056cf18c10 Set the default disc size to 695 which is more appropriate given today's media
and the splittree bug that was just fixed.
2008-11-04 15:30:45 -08:00
Jesse Keating
3c30592dab Use disc_size in splittree as splittree.main() will reset target_size based on it.
Set comps size to 0 as we don't create a comps package anymore.

Longer term we need to stop calling main() from splittree, and instead just
call the functions we need manually.  A bit late for that change for the F10
cycle though.
2008-11-04 14:48:27 -08:00
Jesse Keating
4d01eb4785 Use the https url to bugzilla, otherwise people think they need to re-log in. 2008-10-31 13:09:27 -08:00
Jesse Keating
b929b89835 Handle %packages --default to pick up the default groups. 2008-10-03 15:32:06 -07:00
Jesse Keating
15efef64fa Fix a typo in a comment 2008-10-03 14:23:30 -07:00
Jesse Keating
dcf4d90e69 Subclass ConfigParser so that we can store path names as config options
verbatim and avoid having the files be lowercase.
2008-10-03 10:11:00 -07:00
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
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
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
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