Version 7 vs 8
Version 7 vs 8
Content Changes
Content Changes
Purpose of this document
========================
This is meant to provide all the requirements necessary to follow the [Packaging Tutorial](https://phab.lubuntu.me/w/packaging/packagingtutorial/).
Requirements
============
1. Software
1. `apt install ssh git php-curl php-cli devscripts debhelper tar quilt`
1. Follow "Installing Arcanist" [here](https://secure.phabricator.com/book/phabricator/article/arcanist_quick_start).
1. Configuration
1. Uncomment the `deb-src` lines in `/etc/apt/sources.list` so `apt build-dep` works correctly.
1. So you get credit where credit's due:
1. For `git`:
1. `git config --global user.name "`//**your full name**//`"`
1. `git config --global user.email "`//**your email address**//`"`
1. For Debian tools:
1. Add the following to `$HOME/.bashrc`:
1. `export DEBFULLNAME="`//**your full name**//`"`
1. `export DEBMAIL="`//**your email address**//`"`
1. `export EMAIL="`//**your email address**//`"`
1. Reload your configuration for it to take effect immediately: `source $HOME/.bashrc`
1. Set up `ssh`:
1. Create a key
1. Easy way
1. `ssh-keygen`
1. Accept the default name (`$HOME/.ssh/id_rsa`)
1. Enter a password ≥ 5 characters
1. Hard way
1. `ssh-keygen -C some-identifying-info -t ed25519 # more secure`
1. Select a unique name e.g. `$HOME/.ssh/phab # allows you to have more than one key`
1. Pick an even better password!
1. Edit `$HOME/.ssh/config` to include
1. `Host phab.lubuntu.me`
1. ` IdentityFile ~/.ssh/phab`
1. Add `ssh` key to Phab:
1. Go to [Settings](https://phab.lubuntu.me/settings/)
1. Click on "Personal Account Settings"
1. Click on "SSH Public Keys" under "Authentication" on the left side
1. Click {nav SSH Key Actions > Upload Public Key}
1. Give your key a name (anything works) and then copy and paste the **//__public__//** key from the step above
1. `$HOME/.quiltrc` from [packaging guide](https://phab.lubuntu.me/w/packaging/packaging-guide)
1. Final Arcanist tweaks:
1. `arc set-config phabricator.uri "https://phab.lubuntu.me/"`
1. `arc install-certificate`
Extras
======
1. `ssh` agent with `keychain` TODO
1. `gpg` setup
1. Get the software: `sudo apt install gpg`
1. Make a new key: `gpg --full-generate-key`
1. Select an RSA and RSA pair
1. Select 4096 bits for key size
1. Select expiration date, or none (note you can always move the date out farther)
1. Verify and accept
1. Enter your real name
1. Enter your email address
1. A comment is not necessary
1. Give it a good password
1. It takes a while to gain enough entropy to finish the creation. Open a new terminal and `find / 2>/dev/null` and that should help it along
1. `bzr` setup TODO
Purpose of this document
========================
This is meant to provide all the requirements necessary to follow the [Packaging Tutorial](https://phab.lubuntu.me/w/packaging/packagingtutorial/).
Requirements
============
1. Software
1. `apt install ssh git php-curl php-cli devscripts debhelper tar quilt`
1. Follow "Installing Arcanist" [here](https://secure.phabricator.com/book/phabricator/article/arcanist_quick_start).
1. Configuration
1. Uncomment the `deb-src` lines in `/etc/apt/sources.list` so `apt build-dep` works correctly.
1. So you get credit where credit's due:
1. For `git`:
1. `git config --global user.name "`//**your full name**//`"`
1. `git config --global user.email "`//**your email address**//`"`
1. For Debian tools:
1. Add the following to `$HOME/.bashrc`:
1. `export DEBFULLNAME="`//**your full name**//`"`
1. `export DEBMAIL="`//**your email address**//`"`
1. `export EMAIL="`//**your email address**//`"`
1. Reload your configuration for it to take effect immediately: `source $HOME/.bashrc`
1. Set up `ssh`:
1. Create a key
1. Easy way
1. `ssh-keygen`
1. Accept the default name (`$HOME/.ssh/id_rsa`)
1. Enter a password ≥ 5 characters
1. Hard way
1. `ssh-keygen -C some-identifying-info -t ed25519 # more secure`
1. Select a unique name e.g. `$HOME/.ssh/phab # allows you to have more than one key`
1. Pick an even better password!
1. Edit `$HOME/.ssh/config` to include
1. `Host phab.lubuntu.me`
1. ` IdentityFile ~/.ssh/phab`
1. Add `ssh` key to Phab:
1. Go to [Settings](https://phab.lubuntu.me/settings/)
1. Click on "Personal Account Settings"
1. Click on "SSH Public Keys" under "Authentication" on the left side
1. Click {nav SSH Key Actions > Upload Public Key}
1. Give your key a name (anything works) and then copy and paste the **//__public__//** key from the step above
1. `$HOME/.quiltrc` from [packaging guide](https://phab.lubuntu.me/w/packaging/packaging-guide)
1. Final Arcanist tweaks:
1. `arc set-config phabricator.uri "https://phab.lubuntu.me/"`
1. `arc install-certificate`
Extras
======
1. `ssh` agent with `keychain`
1. Get the software: `sudo apt install keychain`
1. Added the following to the end of your `$HOME/.bashrc`:
* `keychain `//**path-to-private-ssh-key-1 path-to-private-key-2 … path-to-private-key-n**//
* ##. ~/.keychain/`uname -n`-sh##
1. Every time you login, you will be asked for all of your passwords and then they will be held in memory.
1. `gpg` setup
1. Get the software: `sudo apt install gpg`
1. Make a new key: `gpg --full-generate-key`
1. Select an RSA and RSA pair
1. Select 4096 bits for key size
1. Select expiration date, or none (note you can always move the date out farther)
1. Verify and accept
1. Enter your real name
1. Enter your email address
1. A comment is not necessary
1. Give it a good password
1. It takes a while to gain enough entropy to finish the creation. Open a new terminal and `find / 2>/dev/null` and that should help it along
1. `bzr` setup TODO
Purpose of this document
========================
This is meant to provide all the requirements necessary to follow the [Packaging Tutorial](https://phab.lubuntu.me/w/packaging/packagingtutorial/).
Requirements
============
1. Software
1. `apt install ssh git php-curl php-cli devscripts debhelper tar quilt`
1. Follow "Installing Arcanist" [here](https://secure.phabricator.com/book/phabricator/article/arcanist_quick_start).
1. Configuration
1. Uncomment the `deb-src` lines in `/etc/apt/sources.list` so `apt build-dep` works correctly.
1. So you get credit where credit's due:
1. For `git`:
1. `git config --global user.name "`//**your full name**//`"`
1. `git config --global user.email "`//**your email address**//`"`
1. For Debian tools:
1. Add the following to `$HOME/.bashrc`:
1. `export DEBFULLNAME="`//**your full name**//`"`
1. `export DEBMAIL="`//**your email address**//`"`
1. `export EMAIL="`//**your email address**//`"`
1. Reload your configuration for it to take effect immediately: `source $HOME/.bashrc`
1. Set up `ssh`:
1. Create a key
1. Easy way
1. `ssh-keygen`
1. Accept the default name (`$HOME/.ssh/id_rsa`)
1. Enter a password ≥ 5 characters
1. Hard way
1. `ssh-keygen -C some-identifying-info -t ed25519 # more secure`
1. Select a unique name e.g. `$HOME/.ssh/phab # allows you to have more than one key`
1. Pick an even better password!
1. Edit `$HOME/.ssh/config` to include
1. `Host phab.lubuntu.me`
1. ` IdentityFile ~/.ssh/phab`
1. Add `ssh` key to Phab:
1. Go to [Settings](https://phab.lubuntu.me/settings/)
1. Click on "Personal Account Settings"
1. Click on "SSH Public Keys" under "Authentication" on the left side
1. Click {nav SSH Key Actions > Upload Public Key}
1. Give your key a name (anything works) and then copy and paste the **//__public__//** key from the step above
1. `$HOME/.quiltrc` from [packaging guide](https://phab.lubuntu.me/w/packaging/packaging-guide)
1. Final Arcanist tweaks:
1. `arc set-config phabricator.uri "https://phab.lubuntu.me/"`
1. `arc install-certificate`
Extras
======
1. `ssh` agent with `keychain` TODO
1. Get the software: `sudo apt install keychain`
1. Added the following to the end of your `$HOME/.bashrc`:
* `keychain `//**path-to-private-ssh-key-1 path-to-private-key-2 … path-to-private-key-n**//
* ##. ~/.keychain/`uname -n`-sh##
1. Every time you login, you will be asked for all of your passwords and then they will be held in memory.
1. `gpg` setup
1. Get the software: `sudo apt install gpg`
1. Make a new key: `gpg --full-generate-key`
1. Select an RSA and RSA pair
1. Select 4096 bits for key size
1. Select expiration date, or none (note you can always move the date out farther)
1. Verify and accept
1. Enter your real name
1. Enter your email address
1. A comment is not necessary
1. Give it a good password
1. It takes a while to gain enough entropy to finish the creation. Open a new terminal and `find / 2>/dev/null` and that should help it along
1. `bzr` setup TODO