File: README.source

package info (click to toggle)
interception-tools 0.6.8-3.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 288 kB
  • sloc: cpp: 1,321; ansic: 68; makefile: 9; sh: 4
file content (49 lines) | stat: -rw-r--r-- 1,222 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
How to update Debian package

Let's first set key parameters

If you have salsa account, use SSH URL.
```
 $ GIT_SALSA_URL="git@salsa.debian.org:debian/interception-tools.git"
```

If you don't have salsa account, use HTTPS URL.
```
 $ GIT_SALSA_URL="https://salsa.debian.org/debian/debian/interception-tools.git"
```

For upstream URL and branch to track, use HTTPS URL..
```
 $ HTTPS_UPSTREAM_URL="https://gitlab.com/interception/linux/tools.git"
```

Debian packaging uses debian/latest branch following DEP-14.
 https://dep-team.pages.debian.net/deps/dep14/

Create and update package as follows:

```
 $ git clone $GIT_SALSA_URL
 $ git remote add upstream $HTTPS_UPSTREAM_URL
 $ git remote set-url --push upstream DONT_PUSH
 $ git pull --no-rebase upstream master
 $ git pull --no-rebase upstream --tags
  ... hack (set debian/changelog with the latest version)
 $ git deborig
 $ sbuild # test build
  ...
```

Here, sbuild needs to be configured properly.
See https://www.debian.org/doc/manuals/debmake-doc/ch03.en.html#sbuild-setup

Initial upload needs to be source+binary.  So this config needs adjustment.

In future upload (source only), I may use dgit.

```
 $ dgit sbuild
 $ dgit push-source
 $ git push
```