summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* UpdateChangeLog: split out get_committer_name()Zac Medico2011-10-201-4/+7
|
* misc-functions.sh: condense world-writable outputZac Medico2011-10-201-7/+7
|
* repoman: get ChangeLog header from skel.ChangeLogFabian Groffen2011-10-201-1/+1
| | | | | | | Use skel.ChangeLog from the repo to create the header of a new ChangeLog file. Else, we just retain the original header of the ChangeLog. When no skel.ChangeLog file exists, and this is a new ChangeLog, no header is used.
* repoman: get default to update changelog from layout.confFabian Groffen2011-10-201-4/+1
| | | | | | | | | | | | | Updating the ChangeLog file may be desirable in more repos than just the one named 'gentoo', like e.g. the Prefix one. Hence, make this default configurable though metadata/layout.conf. This commit must go accompanied by a commit to gentoo-x86/metadata/layout.conf that adds the following bit: # Bug #337853 - gentoo's council says to enable # --echangelog by default for the "gentoo" repo update-changelog = true
* misc-functions.sh: move sleep out of loopZac Medico2011-10-201-2/+2
| | | | | | Having sleep in the world-writable loop causes riduculous delays for prefix users with exotic filesystem constraints (like a FAT filesystem mounted with umask=000).
* python3.2 fixes: "ResourceWarning: unclosed file"Zac Medico2011-10-171-20/+48
|
* repoman: support --echangelog=forceZac Medico2011-10-161-5/+6
| | | | | Allows forced ChangeLog generation even when the vcs has detected that the ChangeLog has already been modified.
* repoman: handle subprocess bug with Python 3.1Zac Medico2011-10-161-1/+9
|
* repoman: simplify autoadd codeZac Medico2011-10-161-25/+11
|
* repoman: implemented echangelog functionalityFabian Groffen2011-10-161-58/+59
| | | | | | | | | | Instead of calling echangelog, which on its turn has to query the VCS again, use the existing information on changes made to the current directory, and update the ChangeLog from Python itself. This avoids a call to echangelog, and avoids again retrieving the same VCS information as repoman already did. It makes repoman independent from external tools it didn't install itself, and should be faster in general.
* egencache: remove unused importZac Medico2011-10-151-1/+0
|
* egencache: add _mtime_ to metadataZac Medico2011-10-151-2/+1
| | | | | | | This fixes a regression in FEATURES=parse-eapi-ebuild-head support for egencache since commit 2ed1cb53cc4158af08c22d466b15b9a9a7767212. If the metadata does not contain _mtime_ here, then _setitem from cache.metadata.database will raise KeyError.
* repoman: remove unused importsZac Medico2011-10-151-3/+1
|
* bin/ebuild: don't set PORTAGE_CALLERZac Medico2011-10-151-1/+0
| | | | This removes the last reference to PORTAGE_CALLER.
* fixpackages: don't use PORTAGE_CALLERZac Medico2011-10-151-4/+5
|
* repoman: handle categories for multiple mastersZac Medico2011-10-151-1/+2
| | | | | | Also, copy repoman_settings.categories to each individual profile's dep_settings.categories attribute, in order to ensure that portdbapi.cp_list() uses the correct category set.
* frozenset categories optimize pordbapi.cp_list()Zac Medico2011-10-151-3/+3
|
* repoman: validate categories for vcs filesZac Medico2011-10-151-11/+13
|
* repoman: simplify digestgen and gpgsign loopsZac Medico2011-10-141-73/+11
| | | | | We can re-use the vcs_files_to_cps() function from commit 9c9145a9e3c2d8d1bcebf791ce2188add656fee2.
* repoman: optimize --if-modified and --echangelogZac Medico2011-10-141-25/+39
| | | | Avoid unnecessary nested loops.
* repoman --echangelog: fix manifest-only commmitsZac Medico2011-10-141-2/+4
|
* repoman --if-modified: handle removed filesZac Medico2011-10-141-4/+22
|
* cache: rewrite to support arbitrary validation methodBrian Harring2011-10-142-8/+12
| | | | | | | | | | Specifically, the cache can use any portage supported checksum method, or use the standard mtime approach. In addition, support controlling whether or not paths are stored, and generally try to restore some of the centralization/encapsulation that was in place originally. (cherry picked from commit bc1aed614fb588f0ade5bcb5d1265a8db0f8d247) Change-Id: Ic38057e7dbb15063c64a93c99e66e113a7d4c70e
* repoman: handle unicode in echangelog argsZac Medico2011-10-141-3/+7
|
* repoman: add --echangelog=<y|n> for bug #337853Zac Medico2011-10-141-56/+118
| | | | | | | | This option will call echangelog for each package that has modified files and does not have a modified ChangeLog. Gentoo's council has decided that this option will be enabled by default for the "gentoo" repository. If desired, we can add a metadata/layout.conf setting so that other repositories can control the default behavior.
* repoman: support REPOMAN_DEFAULT_OPTS variableZac Medico2011-10-141-0/+9
|
* Add QA_SONAME_NO_SYMLINK for bug #387053.Zac Medico2011-10-131-0/+4
|
* quickpkg: optimize */* matchesZac Medico2011-10-131-0/+5
|
* portageq match: wildcard supportZac Medico2011-10-131-8/+35
|
* layout.conf: make the pregenerated cache format controllableBrian Harring2011-10-131-2/+2
| | | | | | | | | | | Controllable via 'cache-format', currently it supports only one cache; 'pms', and defaults to it. If an unsupported cache-format is specified, the cache is disabled. If pms is specified and metadata/cache directory doesn't exist, the cache is disabled. Finally, this rips out the best module support for locally overriding the cache format used for pregenerated caches; this functionality made zero sense (upstream determines the format, we use what is available).
* quickpkg: use AmbiguousPackageNameZac Medico2011-10-131-3/+3
|
* quickpkg: fix '*' in arg extended atom checkZac Medico2011-10-131-16/+11
| | | | | This check isn't really accurate due to the =* operator, and we don't want to reject =* atoms when they omit the category.
* quickpkg_extended_atom: handle =* operatorZac Medico2011-10-131-0/+5
|
* quickpkg: Support extended atomsSebastian Luther2011-10-131-1/+39
|
* bin/ebuild: add --version optionZac Medico2011-10-111-3/+9
|
* prepstrip: make sure eu-strip embeds right filenameMike Frysinger2011-10-111-1/+4
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* prepstrip: add support for elfutils stripMike Frysinger2011-10-111-18/+46
| | | | | | | If people use strip from the elfutils package, take advantage of some of its neat features (like splitting + stripping in one step). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* prepstrip: extract buildid with readelf to avoid debugedit when possibleMike Frysinger2011-10-111-9/+23
| | | | | | The readelf utility is much more common than debugedit. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* prepstrip: avoid a `dirname` with a simple ${var%/*}Mike Frysinger2011-10-101-1/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* prepstrip: tweak style of debugedit checksv2.2.0_alpha65Zac Medico2011-10-091-8/+8
| | | | | Make the checks more like the FEATURES/RESTRICT checks from commit 286675a500998e536dbbf2ee2dfe1fedf4290b38.
* prepstrip: merge debugedit checks moreZac Medico2011-10-091-5/+11
| | | | | Use a ${debugedit_found} to remember if it's found or not, and use ${debugedit_warned} to avoid showing duplicate warnings.
* prepstrip: optimize duplicate calls to `has`Mike Frysinger2011-10-091-12/+23
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* prepstrip: merge debugedit checksMike Frysinger2011-10-091-6/+5
| | | | | | Avoid checking for debugedit multiple times. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* prepstrip: optimize chmod slightlyMike Frysinger2011-10-091-3/+3
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* repoman: add 'repository' to portdbapi cacheZac Medico2011-10-071-1/+1
| | | | | | | This fixes _getMaskAtom to work correctly with the repo atoms that are generated by MaskManager, solving the issue reported here: https://github.com/cschwan/sage-on-gentoo/issues/90#issuecomment-2324953
* repoman: tweak myupdates/myheaders commit logicv2.2.0_alpha63Zac Medico2011-10-071-2/+1
| | | | | | | | If we unconditionally exclude myremoved from myupdates, then removed files will also be excluded from myheaders. This allows us to avoid unnecessary separate manifest commits in cases when "myheaders" only contained files that were being removed. Since our code always uses myupdates + myremoved, this change in logic doesn't break anything.
* repoman: tweak commit logic wrt thin-manifestZac Medico2011-10-071-1/+1
| | | | | Don't populate the "myheaders" variable when we have thin-manifests that contain only DIST entries.
* Don't do a split signed Manifest commit when no headers will change. Fixes ↵Nathan Phillip Brink2011-10-071-6/+9
| | | | bug #340475.
* repoman: bail out if unsupported manifest-hashesZac Medico2011-10-031-0/+25
|
* repoman: account for GLEP 59 in RMD160 checkZac Medico2011-10-031-20/+20
|