[gentoo-dev] Last rites: sys-fs/udisks-glue
# Michael Palimaka(18 Feb 2017) # Dead upstream. Relies on dead udisks:0. Bug #601356. # Masked for removal in 30 days. sys-fs/udisks-glue
[gentoo-dev] Last rites: dev-util/weblint
# Michael Palimaka(18 Feb 2017) # Fails at runtime. Dead upstream. Unmaintained. Bug #602008. # Masked for removal in 30 days. dev-util/weblint
[gentoo-dev] Last rites: net-news/blam and dev-dotnet/webkit-sharp
# Michael Palimaka(18 Feb 2017) # Requires a dead and vulnerable webkit-gtk version. Bug #608602. # Masked for removal in 30 days. dev-dotnet/webkit-sharp net-news/blam
[gentoo-dev] Last rites: net-ftp/bareftp
# Michael Palimaka(18 Feb 2017) # Fails to build. Bug #608940. Masked for removal in 30 days. net-ftp/bareftp
[gentoo-dev] Last rites: media-libs/FusionSound
# Michael Palimaka(18 Feb 2017) # Fails to build. Use dev-libs/DirectFB[fusionsound] instead. # Bug #602674, 543728, 542000, 456770. Masked for removal in 30 days. media-libs/FusionSound
[gentoo-portage-dev] [PATCH] repos.conf: rename sync-depth option to clone-depth
Since sync-depth actually controls clone depth, rename it to clone-depth, and show a warning message when the sync-depth option has been specified: UserWarning: repos.conf: sync-depth is deprecated, use clone-depth instead This makes it feasible to change the meaning of sync-depth in the future (it could be used to control git pull depth). X-Gentoo-Bug: 552814 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=552814 --- man/portage.5| 7 +-- pym/portage/repository/config.py | 16 pym/portage/sync/modules/git/__init__.py | 14 +- pym/portage/sync/modules/git/git.py | 4 +++- 4 files changed, 29 insertions(+), 12 deletions(-) diff --git a/man/portage.5 b/man/portage.5 index 415817a..82e979e 100644 --- a/man/portage.5 +++ b/man/portage.5 @@ -925,6 +925,10 @@ Valid values: yes, no, true, false. If unset, the repo will be treated as set yes, true. .TP +.B clone\-depth +Specifies clone depth to use for DVCS repositories. Defaults to 1 (only +the newest commit). If set to 0, the depth is unlimited. +.TP .B eclass\-overrides Makes given repository inherit eclasses from specified repositories. .br @@ -972,8 +976,7 @@ Valid values: true, false. Specifies CVS repository. .TP .B sync\-depth -Specifies clone depth to use for DVCS repositories. Defaults to 1 (only -the newest commit). If set to 0, the depth is unlimited. +This is a deprecated alias for the \fBclone\-depth\fR option. .TP .B sync\-git\-clone\-extra\-opts Extra options to give to git when cloning repository (git clone). diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py index 67c717d..b65ed97 100644 --- a/pym/portage/repository/config.py +++ b/pym/portage/repository/config.py @@ -75,7 +75,8 @@ class RepoConfig(object): """Stores config of one repository""" __slots__ = ('aliases', 'allow_missing_manifest', 'allow_provide_virtual', - 'auto_sync', 'cache_formats', 'create_manifest', 'disable_manifest', + 'auto_sync', 'cache_formats', 'clone_depth', + 'create_manifest', 'disable_manifest', 'eapi', 'eclass_db', 'eclass_locations', 'eclass_overrides', 'find_invalid_path_char', 'force', 'format', 'local_config', 'location', 'main_repo', 'manifest_hashes', 'masters', 'missing_repo_name', @@ -168,7 +169,13 @@ class RepoConfig(object): auto_sync = auto_sync.strip().lower() self.auto_sync = auto_sync + self.clone_depth = repo_opts.get('clone-depth') self.sync_depth = repo_opts.get('sync-depth') + + if self.sync_depth is not None: + warnings.warn(_("repos.conf: sync-depth is deprecated," + " use clone-depth instead")) + self.sync_hooks_only_on_change = repo_opts.get( 'sync-hooks-only-on-change', 'false').lower() == 'true' @@ -505,7 +512,8 @@ class RepoConfigLoader(object): if repos_conf_opts is not None: # Selectively copy only the attributes which # repos.conf is allowed to override. - for k in ('aliases', 'auto_sync', 'eclass_overrides', + for k in ('aliases', 'auto_sync', + 'clone_depth', 'eclass_overrides', 'force', 'masters', 'priority', 'strict_misc_digests', 'sync_depth', 'sync_hooks_only_on_change', 'sync_type', 'sync_umask', 'sync_uri', 'sync_user', @@ -929,8 +937,8 @@ class RepoConfigLoader(object): def config_string(self): bool_keys = ("strict_misc_digests",) - str_or_int_keys = ("auto_sync", "format", "location", - "main_repo", "priority", + str_or_int_keys = ("auto_sync", "clone_depth", "format", "location", + "main_repo", "priority", "sync_depth", "sync_type", "sync_umask", "sync_uri", 'sync_user') str_tuple_keys = ("aliases", "eclass_overrides", "force") repo_config_tuple_keys = ("masters",) diff --git a/pym/portage/sync/modules/git/__init__.py b/pym/portage/sync/modules/git/__init__.py index d5eb5c6..2df60e3 100644 --- a/pym/portage/sync/modules/git/__init__.py +++ b/pym/portage/sync/modules/git/__init__.py @@ -16,22 +16,26 @@ class CheckGitConfig(CheckSyncConfig): self.checks.append('check_depth') def check_depth(self): - d = self.repo.sync_depth + for attr in ('clone_depth',
[gentoo-dev] Last rites: distutils.eclass
Hi, The old distutils.eclass is on its way to being removed. The remaining consumers are 14 packages of which half is pending stabilization, and the other half is masked pending removal in 30 days. Those dependencies are tracked via bug 609674 [1]. Therefore, I'd like to officially announce that if everything goes to plan, the distutils.eclass is going to be removed on 2017-03-18. If you are still using it in your custom packages, please make sure to update them ASAP. As usual, post the removal your friendly repository mirroring system will report all the failures resulting of packages still inheriting it. [1]:https://bugs.gentoo.org/609674 -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part
[gentoo-dev] dev-libs/engine_pkcs11 masked for removal in 30 days
Replaced by dev-libs/libp11 unmaintained by upstream. Bug#609668. Removal in 30 days.
[gentoo-dev] Last rites: sys-block/{lio-utils,rtsadmin}
# Michał Górny(17 Feb 2017) # Live ebuilds only. Committed in 2012 with no maintenance afterwards. # One of the last packages to block distutils.eclass removal, #599838 # and #599840. Furthermore, lio-utils is broken, #565824. Removal # in 30 days. sys-block/lio-utils sys-block/rtsadmin -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part
[gentoo-dev] Last rites: www-apps/roundup
# Thomas Deutschmann(17 Feb 2017) # Unpatched security vulnerability per bug #576868 # Removal in 30 days. www-apps/roundup -- Regards, Thomas Deutschmann signature.asc Description: OpenPGP digital signature
[gentoo-dev] Last rites: net-nntp/hellanzb
# Michał Górny(17 Feb 2017) # No longer works with current Twisted versions. Abandoned. Multiple # ebuild issues. Removal in 30 days. Bug #449716. net-nntp/hellanzb -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part
[gentoo-dev] Last rites: net-misc/{clamz,pymazon}
# Michał Górny(17 Feb 2017) # Both reported not to work with current Amazon servers and abandoned # upstream. Removal in 30 days. Bug #542442. net-misc/clamz net-misc/pymazon -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part
[gentoo-dev] Last rites: net-misc/orbited
# Michał Górny(17 Feb 2017) # Reported to be broken. Last real upstream activity in 2011 with # a quick hack-fix in 2013. Removal in 30 days. Bug #591506. net-misc/orbited -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part
[gentoo-dev] Last rites: media-sound/jack
+# Michał Górny(17 Feb 2017) +# Last release in 2004, broken at least since 2010. Seems to require +# complex patches, no effective maintainer, still uses old distutils +# eclass. Removal in 30 days. Bug #298850. +media-sound/jack -- Best regards, Michał Górny signature.asc Description: This is a digitally signed message part