aboutsummarylogtreecommitdiffstats
path: root/README.md
blob: 56f5a17759b50ea1001c6b4731211b55d3223c49 (plain)
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
# code-server-aur

Arch User Repository package for [code-server](https://github.com/cdr/code-server).
Feel free to file issues here or comment on the AUR page.

Previously maintained by [KSXGitHub](https://github.com/KSXGitHub)

## Updating

Make sure you run these commands on an Arch machine. If you're a Coder employee, we suggest using your dogfooding environment.

1. Update the `pkgver` in `PKGBUILD` to the latest version
2. Run `updpkgsums` to update the sha256 sums
	- If you don't have it installed, run `sudo pacman -S pacman-contrib`
3. Update the `.SRCINFO` by running:
```bash
# This is the file that is used by the AUR to show package info.
makepkg --printsrcinfo > .SRCINFO
```
4. Push changes to GitHub: `git push`
5. Push changes to `aur`: `git push aur`
	- If you don't have this set up, run `git remote add aur ssh://aur@aur.archlinux.org/code-server.git`
	- Run `git push aur`

### SSH Key

In order to publish updates to AUR, you'll need to have an SSH key pair setup.

1. Create a config file file `~/.ssh/config`
```text
Host aur.archlinux.org
	IdentityFile ~/.ssh/aur
	User aur
```
2. Create a new key pair by running: 
```shell
ssh-keygen -f ~/.ssh/aur
```
3. This will create a new public key at `.ssh/aur.pub`. Copy this and add to your AUR account under [My Account](https://aur.archlinux.org/account/yourusername/edit/) > SSH Public Key
4. You may also need to be added by the package maintainer (@coadler)

Read more: https://wiki.archlinux.org/index.php/AUR_submission_guidelines

### New Maintainers

If a new maintainer joins the project, please add them to the top of `PKGBUILD`.

### Removing Old Maintainers

Instead of removing them completely, change their title from "Maintainer" to "Contributor".