User:Fab/Personal aports repo
This page was made to check the existing guides to setup a developer repository and publish it at git.alpinelinux.org. I use the aports repository because this requires a bit more of configuration than just setting up a repo at git.alpinelinux.org.
SSH access to git.alpinelinux.org and some space is needed.
Create a repository
Create a directory on your local system.
Initialize the git repository and create a first commit
Create a bare repo
Clone it to a bare repo
Set the description
Set the section and your name for cgit.
cat <<EOF >> aports.git/cgitrc section=Developer fab owner=Fabian Affolter EOF
Upload to git.alpinelinux.org
Copy the content to your the ~/cgit directory on git.alpinelinux.org.
We no longer need the local aports.git directory.
Add your personal repo
So far git does not know anything about about the repositories.
Add upstream source to merge with
Add the original source as a git remote repository ("upstream" can be whatever name you want to assign to the remote repository):
Populate your repository
Now your personal repository can be filled with the data from the upstream aports repository.
With a push the repository data will be upload to the git repository hosted by git.alpinelinux.org.
Now everything is ready to make APKBUILD files.