All of lore.kernel.org
 help / color / mirror / Atom feed
From: "spdev31" <spdev31@gmail.com>
To: "'spdev31'" <spdev31@gmail.com>, <yocto@yoctoproject.org>
Subject: Re: How to use a local SVN repository as a premirror?
Date: Wed, 27 May 2015 11:56:50 -0700	[thread overview]
Message-ID: <082a01d098ae$e516c2f0$af4448d0$@com> (raw)
In-Reply-To: <CAEWbfH+W+7=A=eg=oTqUC5g-F1FVki-woFXm1E2JNEHsOkySmw@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1729 bytes --]

Hello all,

 

Just to share the info – it looks like bitbake’s fetch2 is adding the tar.gz extension.  See build-bundle/poky/bitbake/lib/bb/fetch2/svn.py.  For now, I’m skipping the idea to use PREMIRRORS to fetch from a local SVN repository to avoid making bitbake modifications.

 

FYI,

Shaun

 

From: spdev31 [mailto:spdev31@gmail.com] 
Sent: Monday, May 18, 2015 8:59 PM
To: yocto@yoctoproject.org
Subject: How to use a local SVN repository as a premirror?

 

Hello all,

 

I have a local SVN repository which Yocto successfully downloads from using SRC_URI.  Now I'm trying to setup Yocto to use this repository as a premirror rather than an upstream source.  But I'm getting fetch errors while trying to convert from SRC_URI to PREMIRRORS.  Can anyone point me to how can I setup a local SVN server as a premirror?  I have not been able to find any examples online, but I've found old references to git premirrors (https://lists.yoctoproject.org/pipermail/poky/2011-September/007014.html)

 

My SVN URL is svn://127.0.01/MyRepo/trunk/TopLevel/TestDir and can be accessed as an upstream source with 

SRC_URI = "svn://127.0.01/MyRepo/trunk/TopLevel;module=TestDir".  But when I setup PREMIRRORS to "svn://.*/.* svn://127.0.0.1/MyRepo/trunk/TopLevel" my SVN server shows that Yocto tries accessing the following invalid URL: /MyRepo/trunk/TopLevel/TestDir_127.0.0.1_.MyRepo.trunk.TopLevel_3_.tar.gz/TestDir.

 

The "tar.gz" part of the invalid URL appears to be the cause - can anyone help me understand why this "tar.gz" URL is added when PREMIRRORS is used?

 

Please let me know if this question is better suited for the poky mailing list.

 

Thanks,

Shaun


[-- Attachment #2: Type: text/html, Size: 5291 bytes --]

      reply	other threads:[~2015-05-27 18:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-19  3:59 How to use a local SVN repository as a premirror? spdev31
2015-05-27 18:56 ` spdev31 [this message]

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='082a01d098ae$e516c2f0$af4448d0$@com' \
    --to=spdev31@gmail.com \
    --cc=yocto@yoctoproject.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.