public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Brian Dolbec <dolsen@gentoo.org>
To: gentoo-portage-dev@lists.gentoo.org
Subject: Re: [gentoo-portage-dev] [PATCH] sync: fix module_names enumeration
Date: Sun, 18 Jan 2015 01:49:16 -0800	[thread overview]
Message-ID: <20150118014916.01c20565.dolsen@gentoo.org> (raw)
In-Reply-To: <1421500603-15692-1-git-send-email-mgorny@gentoo.org>

On Sat, 17 Jan 2015 14:16:43 +0100
Michał Górny <mgorny@gentoo.org> wrote:

> Fix module_names enumeration to consider all modules. Before, the
> first module on the list was omitted ('cvs' in this case).
> 
> Another thing is, the CVS module is completely, utterly and inevitably
> broken. And the whole syncing thing is a great pile of terribly
> mis-designed, unnecessarily complex code which can't work unless it is
> worked around like git module does...
> ---


Really???  this just shows how immature you really are.  This type of
commit message does not belong in __ANY__ repo, therefore this is
rejected.


>  pym/portage/sync/controller.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/pym/portage/sync/controller.py
> b/pym/portage/sync/controller.py index 9001298..3d217db 100644
> --- a/pym/portage/sync/controller.py
> +++ b/pym/portage/sync/controller.py
> @@ -119,7 +119,7 @@ class SyncManager(object):
>  		self.callback = callback or self._sync_callback
>  		self.repo = repo
>  		self.exitcode = 1
> -		if repo.sync_type in self.module_names[1:]:
> +		if repo.sync_type in self.module_names:
>  			tasks =
> [self.module_controller.get_class(repo.sync_type)] else:
>  			msg = "\n%s: Sync module '%s' is not an
> installed/known type'\n" \

thanks for the one line patch.  It was something I missed removing when
I first ported the controller module from the emaint one which
pre-pends an 'all' to the list.

-- 
Brian Dolbec <dolsen>



  parent reply	other threads:[~2015-01-18  9:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-17 13:16 [gentoo-portage-dev] [PATCH] sync: fix module_names enumeration Michał Górny
2015-01-17 22:41 ` Zac Medico
2015-01-18  9:49 ` Brian Dolbec [this message]
2015-01-18 10:32   ` Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150118014916.01c20565.dolsen@gentoo.org \
    --to=dolsen@gentoo.org \
    --cc=gentoo-portage-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox