Discussion:
[Replicant] Creating new repository to git.replicant.us
Joonas Kylmälä
2018-09-23 19:54:00 UTC
Permalink
Hi Paul and Wolfgang,

I tried to create a new LineageOS-mirror repository to git.replicant.us
but step 3. at
https://redmine.replicant.us/projects/replicant/wiki/LineageMirror is
not much help. I think I need actual shell access in order to create the
repositories we need because the command to create new repository is
"GL_USER=gitolite-admin gitolite create xxxx".

If one of you could create the two repositories:
- LineageOS-mirror/android_external_aac
- LineageOS-mirror/android_external_libvorbis

(they are needed because of
https://git.replicant.us/replicant/manifest/commit/?h=replicant-6.0-dev&id=682a2c4a85e095a60d81121125e2aacb8e803790)

Joonas
Denis 'GNUtoo' Carikli
2018-09-24 22:06:31 UTC
Permalink
On Sun, 23 Sep 2018 19:54:00 +0000
Post by Joonas Kylmälä
Hi Paul and Wolfgang,
Hi,
Post by Joonas Kylmälä
I tried to create a new LineageOS-mirror repository to
git.replicant.us but step 3. at
https://redmine.replicant.us/projects/replicant/wiki/LineageMirror is
not much help. I think I need actual shell access in order to create
the repositories we need because the command to create new repository
is "GL_USER=gitolite-admin gitolite create xxxx".
- LineageOS-mirror/android_external_aac
- LineageOS-mirror/android_external_libvorbis
As I've no experience with gitolite I've done it like that:
# cd /srv/git/git-data/repositories/LineageOS-mirror
# git clone --mirror https://github.com/LineageOS/android_external_aac
# git clone --mirror \
https://github.com/LineageOS/android_external_libvorbis
# chown git:git -R android_external_libvorbis.git \
android_external_aac.git
# chmod 775 android_external_libvorbis.git \
android_external_aac.git

The repositories are now accessible, but I don't know if I really need
to use gitolite. Someone would also need to create the respective git
bundles not to increase too much the fetch time.

Denis.
Denis 'GNUtoo' Carikli
2018-09-24 22:22:41 UTC
Permalink
On Tue, 25 Sep 2018 00:06:31 +0200
Post by Denis 'GNUtoo' Carikli
The repositories are now accessible, but I don't know if I really need
to use gitolite. Someone would also need to create the respective git
bundles not to increase too much the fetch time.
As all the bundles had the same revision (refs/heads/cm-13.0) I created
the two respective bundles with:
# mkdir /srv/git/bundles/LineageOS-mirror/android_external_aac.git
# cd /srv/git/git-data/repositories/LineageOS-mirror/android_external_aac.git
# git bundle create \
/srv/git/bundles/LineageOS-mirror/android_external_aac.git/clone.bundle \
refs/heads/cm-13.0
# chown git:git \
/srv/git/bundles/LineageOS-mirror/android_external_aac.git/clone.bundle
# chmod 664 \
/srv/git/bundles/LineageOS-mirror/android_external_aac.git/clone.bundle

And:

# mkdir /srv/git/bundles/LineageOS-mirror/android_external_libvorbis.git
# cd /srv/git/git-data/repositories/LineageOS-mirror/android_external_libvorbis.git
# git bundle create
\ /srv/git/bundles/LineageOS-mirror/android_external_libvorbis.git/clone.bundle
\ refs/heads/cm-13.0
# chown git:git \
/srv/git/bundles/LineageOS-mirror/android_external_libvorbis.git/clone.bundle
# chmod 664 \
/srv/git/bundles/LineageOS-mirror/android_external_libvorbis.git/clone.bundle

Denis.
Joonas Kylmälä
2018-09-25 05:20:00 UTC
Permalink
Thanks GNUtoo! It's probably alright that way too.
Post by Denis 'GNUtoo' Carikli
On Sun, 23 Sep 2018 19:54:00 +0000
Post by Joonas Kylmälä
Hi Paul and Wolfgang,
Hi,
Post by Joonas Kylmälä
I tried to create a new LineageOS-mirror repository to
git.replicant.us but step 3. at
https://redmine.replicant.us/projects/replicant/wiki/LineageMirror is
not much help. I think I need actual shell access in order to create
the repositories we need because the command to create new repository
is "GL_USER=gitolite-admin gitolite create xxxx".
- LineageOS-mirror/android_external_aac
- LineageOS-mirror/android_external_libvorbis
# cd /srv/git/git-data/repositories/LineageOS-mirror
# git clone --mirror https://github.com/LineageOS/android_external_aac
# git clone --mirror \
https://github.com/LineageOS/android_external_libvorbis
# chown git:git -R android_external_libvorbis.git \
android_external_aac.git
# chmod 775 android_external_libvorbis.git \
android_external_aac.git
The repositories are now accessible, but I don't know if I really need
to use gitolite. Someone would also need to create the respective git
bundles not to increase too much the fetch time.
Denis.
Loading...