Zac Medico [Fri, 29 Feb 2008 22:58:15 +0000 (22:58 -0000)]
In the suidctl code, move the addwrite call out of the loop. Thanks to ferringb.
svn path=/main/trunk/; revision=9399
Marius Mauch [Thu, 28 Feb 2008 15:08:40 +0000 (15:08 -0000)]
remove code for manifest1 support
svn path=/main/trunk/; revision=9398
Marius Mauch [Thu, 28 Feb 2008 14:55:51 +0000 (14:55 -0000)]
supress stupid line echo in deprecation notices
svn path=/main/trunk/; revision=9397
Marius Mauch [Thu, 28 Feb 2008 13:09:10 +0000 (13:09 -0000)]
remove obsolete information from preserve-libs post-emerge message
svn path=/main/trunk/; revision=9395
Marius Mauch [Thu, 28 Feb 2008 13:08:07 +0000 (13:08 -0000)]
separate different messages with newlines in post-emerge output
svn path=/main/trunk/; revision=9394
Zac Medico [Thu, 28 Feb 2008 10:12:32 +0000 (10:12 -0000)]
Fix some references to config["PORTAGE_USE"] to prevent potential
KeyErrors.
svn path=/main/trunk/; revision=9393
Zac Medico [Wed, 27 Feb 2008 19:43:45 +0000 (19:43 -0000)]
Bug #211554 - Replace references to config["USE"] with references to
config["PORTAGE_USE"] (which is filtered for intersection with IUSE)
so that dependency calculations at installation time are consistent
with those at depclean time.
svn path=/main/trunk/; revision=9392
Zac Medico [Wed, 27 Feb 2008 16:16:30 +0000 (16:16 -0000)]
Revert r9387 (the fix for bug #211554) until I figure out why it's messing
up USE calculations for world updates.
svn path=/main/trunk/; revision=9391
Zac Medico [Wed, 27 Feb 2008 16:00:54 +0000 (16:00 -0000)]
Bug #211294 - Make repoman ignore profiles labeled with anything other
than "stable" or "dev" in profiles.desc so that we can extend it with
new labels such as "exp".
svn path=/main/trunk/; revision=9389
Zac Medico [Wed, 27 Feb 2008 08:57:06 +0000 (08:57 -0000)]
Don't filter USE flags in emerge --info output.
svn path=/main/trunk/; revision=9388
Zac Medico [Wed, 27 Feb 2008 04:06:50 +0000 (04:06 -0000)]
Bug #211554 - Replace references to config["USE"] with references to
config["PORTAGE_USE"] (which is filtered for intersection with IUSE)
so that dependency calculations at installation time are consistent
with those at depclean time.
svn path=/main/trunk/; revision=9387
Zac Medico [Tue, 26 Feb 2008 06:22:39 +0000 (06:22 -0000)]
For depclean/prune unmerge order, if there are no dependencies between
package then just unmerge them alphabetically.
svn path=/main/trunk/; revision=9385
Zac Medico [Tue, 26 Feb 2008 00:02:53 +0000 (00:02 -0000)]
Bug #211365 - Use catpkgsplit() instead of pkgsplit() on the cpv in the
dblink constructor since otherwise weird categories containing numbers
can make pkgsplit() return None (likely related to version regex handling).
(branches/2.1.2 r9383)
svn path=/main/trunk/; revision=9384
Alec Warner [Sun, 24 Feb 2008 23:14:33 +0000 (23:14 -0000)]
Double import, thanks grobian :)
svn path=/main/trunk/; revision=9381
Alec Warner [Sun, 24 Feb 2008 07:52:33 +0000 (07:52 -0000)]
Various repoman fixes, plus a weird lockfile tracekback in news.
svn path=/main/trunk/; revision=9377
Mike Frysinger [Sat, 23 Feb 2008 01:20:48 +0000 (01:20 -0000)]
only try to fetch compression schemes which the host supports
svn path=/main/trunk/; revision=9372
Mike Frysinger [Sat, 23 Feb 2008 01:17:15 +0000 (01:17 -0000)]
add support for lzma/gz snapshots
svn path=/main/trunk/; revision=9371
Mike Frysinger [Sat, 23 Feb 2008 01:08:54 +0000 (01:08 -0000)]
tighten up output from script
svn path=/main/trunk/; revision=9370
Mike Frysinger [Sat, 23 Feb 2008 00:57:06 +0000 (00:57 -0000)]
cleanup main option parsing
svn path=/main/trunk/; revision=9369
Zac Medico [Fri, 22 Feb 2008 23:53:08 +0000 (23:53 -0000)]
Revert portdbapi category auto-detection code since it's not really needed
and can cause problems if we need to add new non-category directories in
the future. We only really need the category auto-detection for bindbapi and
vardbapi anyway.
svn path=/main/trunk/; revision=9368
Zac Medico [Fri, 22 Feb 2008 22:20:50 +0000 (22:20 -0000)]
Add support for file paths as arguments to emerge. If an argument starts
with / and it's not recognized as a tbz2 or ebuild then we try to find
and owner in the vdb and generate a slot atom from it. Thanks to solar
for the suggestion.
svn path=/main/trunk/; revision=9367
Zac Medico [Fri, 22 Feb 2008 06:46:49 +0000 (06:46 -0000)]
Bug #211067 - Make the "portdir_overlay" and "mydir" variables contain
paths that are consistent wrt eachother regardless of any path
irregularities that can be induced by symlinks. Consistency is achieved
by regenerating one of the paths to ensure that both paths have the exact
same mapping between inodes and paths. This consistency ensures that the
path manipulations used to calculate "repolevel" will work as intended.
svn path=/main/trunk/; revision=9365
Zac Medico [Thu, 21 Feb 2008 09:29:10 +0000 (09:29 -0000)]
Make LibraryPackageMap.update() sort the contents of the library_consumers
cache so that it's nice and orderly.
svn path=/main/trunk/; revision=9364
Zac Medico [Thu, 21 Feb 2008 08:04:33 +0000 (08:04 -0000)]
Optimize dblink.isowner() to use fewer stat calls by doing a basename
comparison to try and eliminate the file before resorting to inode
comparison. This speeds up the `portageq owners` command as well as
the search that is done when collision-protect finds a collision.
svn path=/main/trunk/; revision=9363
Zac Medico [Wed, 20 Feb 2008 20:52:22 +0000 (20:52 -0000)]
In the circular dependency display, drop PDEPEND (aka MEDIUM_SOFT) from
the graph so there's less noise.
svn path=/main/trunk/; revision=9362
Zac Medico [Wed, 20 Feb 2008 03:59:45 +0000 (03:59 -0000)]
Make stack_dicts() treat an empty variable assignment just like a non-empty
assignment. This allows the profile to set and empty variable in make.defaults
and have it override a non-empty value as one would expect.
svn path=/main/trunk/; revision=9361
Zac Medico [Tue, 19 Feb 2008 08:47:11 +0000 (08:47 -0000)]
When showing an unsatisfied dep, never include installed packages.
svn path=/main/trunk/; revision=9360
Zac Medico [Tue, 19 Feb 2008 08:27:22 +0000 (08:27 -0000)]
For greedy slot behavior, in addition to any installed slots also
try to pull in the latest new slot that may be available.
svn path=/main/trunk/; revision=9359
Marius Mauch [Tue, 19 Feb 2008 07:36:49 +0000 (07:36 -0000)]
- outsource logic for boolean options into a central function
- enable support for greedy behavior in StaticFileSet
svn path=/main/trunk/; revision=9358
Zac Medico [Tue, 19 Feb 2008 05:59:44 +0000 (05:59 -0000)]
Bug #210449 - Reset exeinto(), docinto(), insinto(), and into() state
variables in case the user is running the install phase multiple times
consecutively via the ebuild command.
svn path=/main/trunk/; revision=9357
Zac Medico [Tue, 19 Feb 2008 05:38:41 +0000 (05:38 -0000)]
Bug #210372 - Fix suidctl.conf parser to look for paths with a leading slash.
svn path=/main/trunk/; revision=9355
Zac Medico [Tue, 19 Feb 2008 04:09:20 +0000 (04:09 -0000)]
Make PreservedLibsRegistry.store() use atomic_ofstream so that we don't
lose the whole registry if an error such as 'out of space' occurs.
svn path=/main/trunk/; revision=9354
Zac Medico [Tue, 19 Feb 2008 03:27:46 +0000 (03:27 -0000)]
Use parse_use_local_desc() from the repoman.utilities module.
svn path=/main/trunk/; revision=9353
Zac Medico [Tue, 19 Feb 2008 02:32:37 +0000 (02:32 -0000)]
Revert back to some known working code from the 2.1.2 branch.
svn path=/main/trunk/; revision=9352
Zac Medico [Tue, 19 Feb 2008 01:53:45 +0000 (01:53 -0000)]
Make LibraryConsumerSet.mapPathsToAtoms() produce slot atoms so that atoms
aren't restricted to the currently installed version, making upgrades
possible.
svn path=/main/trunk/; revision=9351
Zac Medico [Sun, 17 Feb 2008 23:51:42 +0000 (23:51 -0000)]
Fix the --depclean/--prune code to use visible() for visibility checks
instead of the old portdbapi hack.
svn path=/main/trunk/; revision=9350
Zac Medico [Sun, 17 Feb 2008 08:38:55 +0000 (08:38 -0000)]
Fix unmerge() breakage from due to pkgmap being changed from
a dict to a list.
svn path=/main/trunk/; revision=9349
Zac Medico [Sun, 17 Feb 2008 01:59:25 +0000 (01:59 -0000)]
Now that unmerge() preserves the order that it's given, if two different
slots of the same package are being unmerged then they are not necessarily
unmerged consecutively. To make the display less confusing, never display
packages as "protected" or "omitted" when they actually belong to the
overall set of "selected" packages to be unmerged.
svn path=/main/trunk/; revision=9348
Zac Medico [Sun, 17 Feb 2008 01:28:12 +0000 (01:28 -0000)]
Make sure all packages to be pruned or depcleaned are added to the graph,
even when they don't have any dependencies.
svn path=/main/trunk/; revision=9347
Zac Medico [Sun, 17 Feb 2008 00:29:23 +0000 (00:29 -0000)]
Bug #201045 - Make unmerge() preserve the unmerge order of packages
given to it by the user or depclean.
svn path=/main/trunk/; revision=9346
Zac Medico [Sat, 16 Feb 2008 23:46:29 +0000 (23:46 -0000)]
In the action_depclean() topological sort, only add packages to the
graph if they are being removed.
svn path=/main/trunk/; revision=9345
Zac Medico [Sat, 16 Feb 2008 23:43:06 +0000 (23:43 -0000)]
Remove IUSE.invalid from qawarnings since there's no reason for
it not to be fatal. Thanks to Betelgeuse.
svn path=/main/trunk/; revision=9344
Zac Medico [Sat, 16 Feb 2008 23:12:25 +0000 (23:12 -0000)]
Fix reversed order of parent/child parameders to digraph.add().
svn path=/main/trunk/; revision=9343
Zac Medico [Sat, 16 Feb 2008 09:02:39 +0000 (09:02 -0000)]
Add missing % x (bug #208946, comment #2).
svn path=/main/trunk/; revision=9342
Zac Medico [Sat, 16 Feb 2008 07:59:44 +0000 (07:59 -0000)]
Fix depclean breakage so that it doesn't clean some packages that
shouldn't be cleaned.
svn path=/main/trunk/; revision=9341
Zac Medico [Sat, 16 Feb 2008 07:53:40 +0000 (07:53 -0000)]
Make depclean code filter out blocker atoms where appropriate.
svn path=/main/trunk/; revision=9340
Zac Medico [Sat, 16 Feb 2008 07:42:14 +0000 (07:42 -0000)]
Bug #201045 - Use a topological sort to create an unmerge order such that
each package is unmerged before it's dependencies. This is necessary to
avoid breaking things that may need to run during pkg_prerm or pkg_postrm
phases.
svn path=/main/trunk/; revision=9339
Zac Medico [Sat, 16 Feb 2008 00:43:21 +0000 (00:43 -0000)]
Update the DepPriority documentation so that the table shows all the
currently supported priorities and categories.
svn path=/main/trunk/; revision=9338
Zac Medico [Fri, 15 Feb 2008 07:47:28 +0000 (07:47 -0000)]
Fix --newuse reinstall logic broken by the previous commit.
svn path=/main/trunk/; revision=9337
Zac Medico [Thu, 14 Feb 2008 07:30:57 +0000 (07:30 -0000)]
Fix package selection logic in order to prevent downgrade in cases
when selective is True and the currently installed version does
not have a matching ebuild in the tree. For example, this type of
situation is likely to occur if the user somehow obtains a binary
package that has a newer version than any of the ebuilds in the
portage tree. If package maintainers want to encourage a downgrade
in a case like this then they should use package.mask so that the
user receives a warning about the installed package being masked.
svn path=/main/trunk/; revision=9336
Zac Medico [Tue, 12 Feb 2008 04:08:33 +0000 (04:08 -0000)]
Bug #209768 - Fix --search "Size of files:" handling so that it properly
shows the "Unknown (missing digest)" message instead of a traceback.
svn path=/main/trunk/; revision=9333
Alec Warner [Mon, 11 Feb 2008 02:29:59 +0000 (02:29 -0000)]
Add bits about namespace pollution, add whitespacing comments after looking at some new code I wrote and realizing I was not following the current style. Fix typos
svn path=/main/trunk/; revision=9332
Zac Medico [Sun, 10 Feb 2008 23:32:04 +0000 (23:32 -0000)]
Bug #209538 - Disable annoying "masked by keyword" warnings for installed
packages. We can assume that if the user accepted the keywords at merge
time then they never want to be bothered again.
svn path=/main/trunk/; revision=9330
Marius Mauch [Sun, 10 Feb 2008 13:01:43 +0000 (13:01 -0000)]
fix more trivial issues breaking repoman
svn path=/main/trunk/; revision=9328
Zac Medico [Sun, 10 Feb 2008 07:18:58 +0000 (07:18 -0000)]
Remove the killparent() function and associated SIGINT trap since this
should already be handled on the python side and it won't work with
dropped privileges anyway.
svn path=/main/trunk/; revision=9327
Zac Medico [Sun, 10 Feb 2008 05:33:52 +0000 (05:33 -0000)]
Fix rejects.
svn path=/main/trunk/; revision=9326
Zac Medico [Sun, 10 Feb 2008 03:14:44 +0000 (03:14 -0000)]
Fix CHOST masking logic wrt installed packages so that it's consistent
between visible() and get_masking_status().
svn path=/main/trunk/; revision=9324
Zac Medico [Sun, 10 Feb 2008 01:50:52 +0000 (01:50 -0000)]
Bug #209144 - For emerge --sync, show an informative error and don't
return 1 when PORTAGE_RSYNC_RETRIES is exceeded.
svn path=/main/trunk/; revision=9321
Zac Medico [Sun, 10 Feb 2008 01:39:55 +0000 (01:39 -0000)]
Fix the exitcode logic for bug #209144 so that when the server is
out of date it's not interpreted like an actual rsync exitcode
(to avoid a misleading exitcode interpretation message).
svn path=/main/trunk/; revision=9320
Zac Medico [Sun, 10 Feb 2008 00:38:59 +0000 (00:38 -0000)]
Fix get_mask_info() to properly pass the "installed" attribute into
the Package constructor.
svn path=/main/trunk/; revision=9318
Marius Mauch [Sat, 9 Feb 2008 23:06:28 +0000 (23:06 -0000)]
fix nasty typo
svn path=/main/trunk/; revision=9316
Zac Medico [Sat, 9 Feb 2008 22:05:24 +0000 (22:05 -0000)]
Bug #208743 - Update dosed docs to indicate that "s:${D}::g" is used
as the default expression if none other is given.
svn path=/main/trunk/; revision=9313
Marius Mauch [Sat, 9 Feb 2008 15:39:49 +0000 (15:39 -0000)]
add tagging capabilities and cli options
svn path=/main/trunk/; revision=9312
Marius Mauch [Sat, 9 Feb 2008 15:13:35 +0000 (15:13 -0000)]
add preserve-libs info to make.conf.example
svn path=/main/trunk/; revision=9311
Marius Mauch [Sat, 9 Feb 2008 13:31:05 +0000 (13:31 -0000)]
more minor doc updates regarding package sets
svn path=/main/trunk/; revision=9310
Marius Mauch [Sat, 9 Feb 2008 13:23:36 +0000 (13:23 -0000)]
minor documentation updates
svn path=/main/trunk/; revision=9309
Marius Mauch [Sat, 9 Feb 2008 12:47:58 +0000 (12:47 -0000)]
new script for creating release tarballs
svn path=/main/trunk/; revision=9308
Marius Mauch [Sat, 9 Feb 2008 12:04:51 +0000 (12:04 -0000)]
removing obsolete cruft
svn path=/main/trunk/; revision=9307
Zac Medico [Sat, 9 Feb 2008 04:58:39 +0000 (04:58 -0000)]
Bug #208708 - Show informative warning messages for installed
packages that are masked.
svn path=/main/trunk/; revision=9301
Zac Medico [Fri, 8 Feb 2008 11:46:53 +0000 (11:46 -0000)]
Fix some broken variable references found by pyflakes.
svn path=/main/trunk/; revision=9299
Zac Medico [Fri, 8 Feb 2008 08:39:58 +0000 (08:39 -0000)]
Bug #208708 - Fix masked package display some more:
- Warn if all matching ebuilds are masked or the installed
package itself is masked.
- Do not warn if there are simply no matching ebuilds since
that would be annoying in some cases.
svn path=/main/trunk/; revision=9293
Zac Medico [Fri, 8 Feb 2008 08:01:09 +0000 (08:01 -0000)]
Don't show unmasked packages (currently installed packages) in
the masking display.
svn path=/main/trunk/; revision=9292
Zac Medico [Fri, 8 Feb 2008 04:33:30 +0000 (04:33 -0000)]
Add DISTDIR to the EbuildQuote.var_names. Thanks to Betelgeuse.
svn path=/main/trunk/; revision=9290
Zac Medico [Fri, 8 Feb 2008 01:26:13 +0000 (01:26 -0000)]
Bug #208708 - Fix warnings for system or world packages that are masked.
svn path=/main/trunk/; revision=9289
Zac Medico [Fri, 8 Feb 2008 00:32:49 +0000 (00:32 -0000)]
Bug #208743 - Clarify dosed docs to indicate that sed is performed
in place of a file in ${D}.
svn path=/main/trunk/; revision=9287
Zac Medico [Fri, 8 Feb 2008 00:19:50 +0000 (00:19 -0000)]
Bug #208782 - Consistently use double quotes rather than mixining in single
quotes.
svn path=/main/trunk/; revision=9285
Zac Medico [Fri, 8 Feb 2008 00:12:37 +0000 (00:12 -0000)]
Bug #209144 - For emerge --sync, don't return 0 when the server
is out of date.
svn path=/main/trunk/; revision=9283
Zac Medico [Thu, 7 Feb 2008 23:30:49 +0000 (23:30 -0000)]
Bug #155993 - Update environment.bz2 after postinst in case
installation phases need to pass some variables to
uninstallation phases.
svn path=/main/trunk/; revision=9281
Zac Medico [Wed, 6 Feb 2008 08:43:57 +0000 (08:43 -0000)]
For the useq() IUSE qa check, use [[ $u =~ $PORTAGE_IUSE ]] instead
of egrep since apparently it's compatible in this case. Thanks to
igli for this.
svn path=/main/trunk/; revision=9279
Zac Medico [Wed, 6 Feb 2008 06:08:51 +0000 (06:08 -0000)]
Make qa_source and qa_call save the return value and return it. Thanks
to igli for suggesting.
svn path=/main/trunk/; revision=9278
Marius Mauch [Tue, 5 Feb 2008 21:29:15 +0000 (21:29 -0000)]
don't try to copy manually removed libraries (bug #208946)
svn path=/main/trunk/; revision=9277
Marius Mauch [Tue, 5 Feb 2008 19:02:24 +0000 (19:02 -0000)]
display errors that occured during package set initalization
svn path=/main/trunk/; revision=9276
Marius Mauch [Tue, 5 Feb 2008 18:57:08 +0000 (18:57 -0000)]
don't record internal providers in NEEDED records as they are pointless for all useful applications in portage and complicate them instead (e.g. bug #205531)
svn path=/main/trunk/; revision=9275
Marius Mauch [Tue, 5 Feb 2008 08:21:06 +0000 (08:21 -0000)]
Use local time for elog summaries
svn path=/main/trunk/; revision=9273
Zac Medico [Fri, 1 Feb 2008 04:36:25 +0000 (04:36 -0000)]
portage-2.1.4.1
==================================
* If you have an overlay then you should remove **/files/digest-*
files (Manifest1) because they are no longer supported.
* If earlier versions of portage will be used to generate manifests
for your overlay then you should add a file named manifest1_obsolete
to the root of the repository in order to disable generation of the
Manifest1 digest files.
svn path=/main/trunk/; revision=9264
Zac Medico [Fri, 1 Feb 2008 03:11:56 +0000 (03:11 -0000)]
Remove the manifest1 digest file removal code since it's no longer
needed.
svn path=/main/trunk/; revision=9262
Zac Medico [Fri, 1 Feb 2008 02:53:08 +0000 (02:53 -0000)]
Remove the manifest1 digest filter from PORTAGE_RSYNC_OPTS since it's
no longer needed.
svn path=/main/trunk/; revision=9260
Zac Medico [Fri, 1 Feb 2008 00:04:52 +0000 (00:04 -0000)]
Make the manifest1_compat constructor parameter default to False
to prevent potential interference from stale old digest files in
overlays.
svn path=/main/trunk/; revision=9258
Zac Medico [Thu, 31 Jan 2008 23:45:12 +0000 (23:45 -0000)]
Bug #205718 - Fix quoting of ${INSTALL_MASK} where appropriate. Thanks
to Ed Catmur <ed@catmur.co.uk> for this patch.
svn path=/main/trunk/; revision=9256
Zac Medico [Thu, 31 Jan 2008 20:25:20 +0000 (20:25 -0000)]
Disable manifest1_compat for ebuild --force digest.
svn path=/main/trunk/; revision=9254
Zac Medico [Thu, 31 Jan 2008 20:04:56 +0000 (20:04 -0000)]
Unconditionally disable manifest1 compatibility since it's been dropped
from the main tree and nobody needs it anymore.
svn path=/main/trunk/; revision=9252
Zac Medico [Thu, 31 Jan 2008 09:31:23 +0000 (09:31 -0000)]
Make the autotools.eclass functions exempt from the autotools
QA Notice.
svn path=/main/trunk/; revision=9249
Zac Medico [Thu, 31 Jan 2008 07:46:28 +0000 (07:46 -0000)]
Add 'local' to the list of non_category_dirs since it's commonly
used for layman overlays.
svn path=/main/trunk/; revision=9241
Zac Medico [Thu, 31 Jan 2008 04:15:48 +0000 (04:15 -0000)]
* Bug #205966 - Don't show binhost password when displaying the uri.
* Fix a cpv variable name typo.
svn path=/main/trunk/; revision=9238
Zac Medico [Wed, 30 Jan 2008 22:52:57 +0000 (22:52 -0000)]
Remove the last traces of the ebuild.autotools check.
svn path=/main/trunk/; revision=9236
Zac Medico [Wed, 30 Jan 2008 22:49:47 +0000 (22:49 -0000)]
- Remove ebuild.autotools repoman check since it produces lots
of false positives (bug #207104) and its hard to parse bash
- Use QA_INTERCEPTORS in ebuild.sh to implement a runtime
'QA Notice' when autotools is called directly
svn path=/main/trunk/; revision=9235
Zac Medico [Wed, 30 Jan 2008 18:45:49 +0000 (18:45 -0000)]
use strip(os.sep) on paths prior to os.path.join (branches/prefix
r9228)
svn path=/main/trunk/; revision=9230
Alec Warner [Sun, 27 Jan 2008 11:26:48 +0000 (11:26 -0000)]
Pull more functions out of repoman proper and into repoman.utilities, correct a typo, clean up imports
svn path=/main/trunk/; revision=9227
Alec Warner [Sun, 27 Jan 2008 11:26:01 +0000 (11:26 -0000)]
Pull more functions out of repoman proper and into repoman.utilities
svn path=/main/trunk/; revision=9226
Alec Warner [Sun, 27 Jan 2008 11:05:41 +0000 (11:05 -0000)]
import ordering, prevent errors from mucking up module namespace in checks, fix typo from last commit, rename 'm' to autotools_match, fix spacing between classes
svn path=/main/trunk/; revision=9225