All of lore.kernel.org
 help / color / mirror / Atom feed
* How to use a local SVN repository as a premirror?
@ 2015-05-19  3:59 spdev31
  2015-05-27 18:56 ` spdev31
  0 siblings, 1 reply; 2+ messages in thread
From: spdev31 @ 2015-05-19  3:59 UTC (permalink / raw)
  To: yocto

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

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: 1562 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to use a local SVN repository as a premirror?
  2015-05-19  3:59 How to use a local SVN repository as a premirror? spdev31
@ 2015-05-27 18:56 ` spdev31
  0 siblings, 0 replies; 2+ messages in thread
From: spdev31 @ 2015-05-27 18:56 UTC (permalink / raw)
  To: 'spdev31', yocto

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-05-27 18:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-19  3:59 How to use a local SVN repository as a premirror? spdev31
2015-05-27 18:56 ` spdev31

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.