├── README.md ├── changelog-info.md ├── debian └── buster │ └── debian │ ├── changelog │ ├── control │ ├── copyright │ ├── files │ ├── postinst │ ├── rules │ └── source │ └── format └── ubuntu ├── focal └── debian │ ├── changelog │ ├── control │ ├── copyright │ ├── files │ ├── postinst │ ├── rules │ └── source │ └── format └── groovy └── debian ├── changelog ├── control ├── copyright ├── files ├── postinst ├── rules └── source └── format /README.md: -------------------------------------------------------------------------------- 1 | # v-debian 2 | V Debian package 3 | 4 | Ubuntu Releases found in `ubuntu/` 5 | Debian Releases found in `debian/` 6 | 7 | Further mentions of the `debian/` will mean the package information for Ubuntu and Debian builds, but should not be mixed up with the top-level `debian/` folder. 8 | 9 | Don't change the package folder of `debian/` to avoid confusion with the top-level `debian/` release folder, this will create errors. 10 | 11 | ## Building Packages: 12 | - Copy point release from [releases](https://github.com/vlang/v/releases) 13 | - Move the active data to a `vlang/` directory 14 | - Copy and paste the needed `debian/` folder from this repo. 15 | - In `debian/` folder, change data: 16 | - `debian/control` : uploader. change detail: `your name ` 17 | - `debian/changelog` : New release information, example below: 18 | ``` 19 | vlang (0.1.27.7) focal; urgency=medium 20 | 21 | * Rebuild new package 22 | 23 | -- Kai Lyons Sun, 09 Jun 2020 03:05:00 -0600 24 | ``` 25 | Note that changelog is super sensitive. Read [changelog-info.md](https://github.com/vlang/v-debian/blob/master/changelog-info.md) for more information 26 | - Nothing else in the debian folder should need to be changed. 27 | - Compress new orig.tar.* 28 | - Can be any .tar type (gz, xz, bz2, etc). 29 | - `vlang_0..orig.tar.gz` 30 | - Launchpad will not accept the same version twice, if needed, add an extra point to the attempt. 31 | - Build and upload to Launchpad: 32 | - `debuild -S` 33 | - `dput ppa:vlang/vlang *_source.changes` 34 | - Upload permissions needed, create Launchpad account with keys. Then ask Kai (kai.lyons@kaix.live) for upload permissions. Setup dput, then you are able to upload. 35 | -------------------------------------------------------------------------------- /changelog-info.md: -------------------------------------------------------------------------------- 1 | # How to update changelog 2 | The `debian/changelog` file is not complicated, but sensitive. 3 | 4 | Basic rules: 5 | - Use 24 hour time 6 | - Know your time zone 7 | - DD/MMM/YYYY format 8 | - Do not use full month names 9 | - Update master changelog when needed 10 | 11 | ## Changelog syntax 12 | There are three sections, which will be called: Header, Body, Footer. Each ones have specific rules: 13 | 14 | ### HEADER 15 | `vlang () ; urgency=medium` \ 16 | The version is the current point release (example: `0.2`). \ 17 | The release is the version of the OS it is packaged for (example: `focal`). \ 18 | Nothing else needs to be changed. 19 | 20 | EX: `vlang (0.2) focal; urgency=medium` 21 | 22 | ### BODY 23 | `* ` \ 24 | The changelog is the message sent. \ 25 | They are to be set two spaces away from the beginning of the line. \ 26 | There can be multiple. 27 | 28 | EX: 29 | ``` 30 | * changed this 31 | * changed that 32 | * this too 33 | ``` 34 | 35 | ### FOOTER 36 | The footer is the most specific, but is simple to understand. \ 37 | `-- your name WW, DD MM YYYY