File: README.source

package info (click to toggle)
grokmirror 1.0.0-1.1~deb9u1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 296 kB
  • sloc: python: 1,792; sh: 24; makefile: 4
file content (60 lines) | stat: -rw-r--r-- 1,639 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
grokmirror packaging notes
==========================

The 'master' branch is used to track upstream's master.

The 'debian' branch is used to track the Debian packaging.

Tracking upstream
-----------------

1. Pull changes from upstream onto the 'master' branch.

    $ git checkout master
    $ git pull --ff-only upstream master

2. Merge upstream changes onto the 'debian' branch.

    $ git checkout debian
    $ git merge --no-ff master

Initialization
--------------

1. A git repository was created on collab-maint.

    edmonds@chase{0}:~$ ssh git.debian.org
    edmonds@vasks:~$ umask 002
    edmonds@vasks:~$ cd /git/collab-maint/
    edmonds@vasks:/git/collab-maint$ ./setup-repository grokmirror 'Packaging for grokmirror'
    Initialized empty shared Git repository in /srv/git.debian.org/git/collab-maint/grokmirror.git/
    edmonds@vasks:/git/collab-maint$ 

2. The upstream grokmirror source was initially obtained via git from
<git://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git>.

    $ git clone git://git.kernel.org/pub/scm/utils/grokmirror/grokmirror.git

3. The 'origin' remote was renamed to 'upstream'.

    $ git remote rename origin upstream

4. The 'debian' remote was added.

    $ git remote add debian ssh://git.debian.org/git/collab-maint/grokmirror.git

5. The 'debian' branch was created.

    $ git checkout -b debian

6. Repository content initially pushed to collab-maint.

    $ git push --all -u debian

7. The Debian packaging was created in the debian/ directory and commited on
the 'debian' branch.

8. Debian changes pushed to collab-maint.

    $ git push --all
    $ git push --tags