| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
Avoid "TypeError: keywords must be strings" issue triggered
by unicode_literals: http://bugs.python.org/issue4978
|
|
|
|
|
| |
This helps to ensure consistent results, regardless of whether we're
using Python 2 or Python 3.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
WARNING: Portage versions prior to portage-2.1.11.14 will NOT
recognize the 'md5-dict' format unless it is explicitly listed
in metadata/layout.conf (refer to portage(5) for example usage).
WARNING: For backward compatibility, the obsolete 'pms' cache
format will still be generated by default if the metadata/cache/
directory exists in the repository.
|
| |
|
|
|
|
|
|
| |
This binds filename validation to the RepoConfig, so that eventually
we'll be able to control it via a layout.conf setting as discussed in
bug #435934.
|
|
|
|
| |
EAPI="4-python".
|
|
|
|
|
|
|
| |
Auto-detect cache-formats from the corresponding directories when
cache-formats is not specifed in layout.conf, and prefer md5-dict if
available. After this behavior is deployed in stable portage, the
default egencache format can be changed to md5-dict.
|
|
|
|
|
| |
This fixes an issue where egencache would not generate metadata/cache
unless the directory already existed.
|
|
|
|
|
|
|
|
|
| |
If "profile-formats = portage-2" is specified in metadata/layout.conf,
then paths such as 'gentoo:targets/desktop' or ':targets/desktop' in
profile parent files can be used to express paths relative to the root
'profiles' directory of a repository. When the repo name is omitted
before the colon, it refers to the current repository that the parent
file is inside of.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
By passing the RepoConfigLoader instance into LocationsManager, we can
re-use previously parsed layout.conf data. The RepoConfigLoader
instance will also be useful for bug #414961.
|
|
|
|
|
|
| |
This resolves a circular dependency on the SYNC variable, which is
useful for bug #414961, since we want to be able to initialize
self.repositories before the SYNC variable is known.
|
|
|
|
|
| |
Also, add "allow-provide-virtuals = true" setting for
metadata/layout.conf which reduces it to a warning.
|
|
|
|
|
|
|
| |
In order to sign commits with git, you will need Git >=1.7.9 and your
key will have to be configured by `git config user.signingkey key_id`.
Also, the repository will need to have "sign-commits = true" in
metadata/layout.conf. This will fix bug #333687.
|
|
|
|
| |
Signed-off-by: Zac Medico <zmedico@gentoo.org>
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
RepoConfig.update() was being used to copy attributes from one instance
to another, possibly leading to inappropriate mixing of layout.conf
attributes from separate copies of the same repo. This is common with
repoman, for example, when temporarily overriding an rsync repo with
another copy of the same repo from CVS.
|
|
|
|
|
|
|
|
|
|
| |
This fixes a regression since commit
10246cd535f909dda8bd05de617c32d2b8a56b4a which caused layout.conf
settings such as thin-manifests to be ignored for repositories that
had repos.conf settings that did not specify the repository location.
In order to trigger this case, ResolverPlayground has been modified to
omit the location of each repository in the repos.conf file that it
generates.
|
|
|
|
| |
_add_repositories().
|
| |
|
| |
|
| |
|
|
|
|
| |
instead of portage.repository.config.RepoConfigLoader.__init__().
|
|
|
|
|
|
|
|
| |
Only append the current repo to eclass_locations if it's not there
already. This allows masters to have more control over eclass override
order, which may be useful for scenarios in which there is a plan to
migrate eclasses to a master repo. Thanks to Brian Harring
<ferringb@gentoo.org) for suggesting this behavior.
|
| |
|
|
|
|
|
| |
This will be used by egencache to generate cache for all supported
formats.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
This allows a user to discard unwanted aliases that are specified in
a repo's layout.conf.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
This allows us to avoid duplicate warnings for 'unspecified' repo since
parse_layout_conf is initially called without specifying the repo in
LocationsManager.load_profiles().
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
The logic got inverted when parse_layout_conf was split out in commit
0be173a54a5248cfd70a3543d7099d2dd3ee254b.
|
|
|
|
| |
There's a loop that already handles this via setattr.
|
|
|
|
|
|
| |
We read layout.conf cache-formats from left to right and use the first
supported type that's found. This will allow support for multiple
formats in parallel, providing for smooth transitions between formats.
|
|
|
|
|
|
|
|
| |
Note the portage-1-compat mode; this isn't settable externally, is
purely an internal mode for tracking if a repository is in portage-1
compat mode, rather than explicit portage-1 mode.
This compat mode will be removed once portage becomes strict.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|