* [Xenomai] Mirroring xenomai.org
@ 2015-08-31 6:37 Gilles Chanteperdrix
2015-08-31 7:08 ` Gilles Chanteperdrix
0 siblings, 1 reply; 3+ messages in thread
From: Gilles Chanteperdrix @ 2015-08-31 6:37 UTC (permalink / raw)
To: Xenomai
Hi,
according to xenomai.org server statistics, some xenomai users are
mirroring xenomai.org git repositories. In order to make things
easy, grokmirror is now set up on xenomai.org. The manifest is
available at:
http://git.xenomai.org/manifest.js.gz
or
https://git.xenomai.org/manifest.js.gz
You can read more about grokmirror here:
https://www.kernel.org/mirroring-kernelorg-repositories.html
and here:
https://github.com/mricon/grokmirror
But, to summarize, writing to repos-xenomai.conf:
[xenomai.org]
site = git://git.xenomai.org
manifest = https://git.xenomai.org/manifest.js.gz
toplevel = /tmp/xeno-gits
mymanifest = /tmp/xeno-gits/manifest.js.gz
projectslist_symlinks = no
post_update_hook =
purgeprotect = 5
default_owner = Xenomai
log = /tmp/xeno-gits/grok-pull.log
loglevel = info
pull_threads = 2
include = *
exclude =
And running grok-pull -c /path/to/repos-xenomai.conf in a crontab
should be enough to set a mirror up in /tmp/xeno-gits. When nothing
changed, the date of the manifest file will be enough to avoid
downloading anything, which makes the process very light.
You can tweak the include line to only mirror some repositories.
Note however that if you want to mirror one of the ipipe gits, since
the I-pipe git now makes reference to the linux and linux stable git,
you will also have to mirror the linux and linux-stable git (which are
mirrored by xenomai). So, for instance, to mirror the official ipipe
git only, you would write:
include = /kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
/kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
/ipipe.git
instead of include = *
Regards.
--
Gilles.
https://click-hack.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai] Mirroring xenomai.org
2015-08-31 6:37 [Xenomai] Mirroring xenomai.org Gilles Chanteperdrix
@ 2015-08-31 7:08 ` Gilles Chanteperdrix
2015-09-07 10:08 ` Gilles Chanteperdrix
0 siblings, 1 reply; 3+ messages in thread
From: Gilles Chanteperdrix @ 2015-08-31 7:08 UTC (permalink / raw)
To: Xenomai
On Mon, Aug 31, 2015 at 08:37:38AM +0200, Gilles Chanteperdrix wrote:
> Hi,
>
> according to xenomai.org server statistics, some xenomai users are
> mirroring xenomai.org git repositories. In order to make things
> easy, grokmirror is now set up on xenomai.org.
Unfortunately, this broke http/https checkout for ipipe* gits. The
reason is that the "alternate" file in the ipipe gits contains the
absolute path to the kernel.org repositories, which does not work
for http/https checkouts. I will need to spend more time fixing
this. In the mean time, I revert the ipipe* gits to their former
contents, without references.
--
Gilles.
https://click-hack.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai] Mirroring xenomai.org
2015-08-31 7:08 ` Gilles Chanteperdrix
@ 2015-09-07 10:08 ` Gilles Chanteperdrix
0 siblings, 0 replies; 3+ messages in thread
From: Gilles Chanteperdrix @ 2015-09-07 10:08 UTC (permalink / raw)
To: Xenomai
On Mon, Aug 31, 2015 at 09:08:49AM +0200, Gilles Chanteperdrix wrote:
> On Mon, Aug 31, 2015 at 08:37:38AM +0200, Gilles Chanteperdrix wrote:
> > Hi,
> >
> > according to xenomai.org server statistics, some xenomai users are
> > mirroring xenomai.org git repositories. In order to make things
> > easy, grokmirror is now set up on xenomai.org.
>
> Unfortunately, this broke http/https checkout for ipipe* gits. The
> reason is that the "alternate" file in the ipipe gits contains the
> absolute path to the kernel.org repositories, which does not work
> for http/https checkouts. I will need to spend more time fixing
> this. In the mean time, I revert the ipipe* gits to their former
> contents, without references.
Hi,
Since yesterday, the ipipe gits are now references to the
linux-stable git. I could not find a way to "nest" the references,
have the ipipe git be references to both linux-stable.git and
linux.git.
So, this means that a typical grokmirror configuration, saving the
mirrors in /var/xeno-gits would be:
[xenomai.org]
site = git://git.xenomai.org
manifest = https://git.xenomai.org/manifest.js.gz
toplevel = /var/xeno-gits
mymanifest = /var/xeno-gits/manifest.js.gz
projectslist_symlinks = no
post_update_hook =
purgeprotect = 5
default_owner = Xenomai
log = /var/xeno-gits/grok-pull.log
loglevel = info
pull_threads = 2
include = *
exclude =
If you want to only mirror ipipe.git and say, ipipe-gch.git and want
to benefit from sharing the linux-stable repository, the include
line should be replaced with:
include = /kernel.org/linux-stable.git
/ipipe.git
/ipipe-gch.git
Now, if you want to only mirror ipipe.git and do not care to have a
separate linux-stable.git repository, the include line can be
replaced with:
ignore_repo_references = yes
include = /ipipe.git
Also note that another advantage of the grokmirror tools is the
grok-fsck tool, which cleans up the repositories, and spread the
work over time.
If following these changes, something does not work, please report
the problem on this mailing list.
Regards.
--
Gilles.
https://click-hack.org
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-09-07 10:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-31 6:37 [Xenomai] Mirroring xenomai.org Gilles Chanteperdrix
2015-08-31 7:08 ` Gilles Chanteperdrix
2015-09-07 10:08 ` Gilles Chanteperdrix
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.