public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Zac Medico <zmedico@gentoo.org>
To: gentoo-portage-dev@lists.gentoo.org
Cc: "Michał Górny" <mgorny@gentoo.org>
Subject: Re: [gentoo-portage-dev] [PATCH] svn sync: fix the module
Date: Sat, 17 Jan 2015 16:13:00 -0800	[thread overview]
Message-ID: <54BAFA8C.7030100@gentoo.org> (raw)
In-Reply-To: <1421516139-6662-1-git-send-email-mgorny@gentoo.org>

On 01/17/2015 09:35 AM, Michał Górny wrote:
> Fix the svn sync module since it doesn't work at all right now. More
> specifically:
> 
> 1. add exists() method that uses 'svn info' to determine whether
> the repository was checked out already.
> 
> 2. Fix the initial clone to use valid svn commands. Do not remove
> the just-created directory to avoid permission issues, just run checkout
> on top of it.

In case the reader is wondering, we could clarify that
SyncManager.pre_sync creates the directory and sets the permissions.

> 3. Fix the sync method to run update unconditionally to whether the URI
> starts with svn:// or not. In fact, remove the whole check since it
> doesn't serve any purpose.
> ---
>  pym/portage/sync/modules/svn/svn.py | 54 ++++++++++++++++++++-----------------
>  1 file changed, 29 insertions(+), 25 deletions(-)

LGTM.
-- 
Thanks,
Zac


  reply	other threads:[~2015-01-18  0:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-17 17:35 [gentoo-portage-dev] [PATCH] svn sync: fix the module Michał Górny
2015-01-18  0:13 ` Zac Medico [this message]
2015-01-18 10:35   ` [gentoo-portage-dev] [PATCH v2] " Michał Górny
2015-01-18 16:36     ` Brian Dolbec

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=54BAFA8C.7030100@gentoo.org \
    --to=zmedico@gentoo.org \
    --cc=gentoo-portage-dev@lists.gentoo.org \
    --cc=mgorny@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