Packaging Requirements
Packaging Requirements
Purpose of this document
This is meant to provide all the requirements necessary to follow the Packaging Tutorial.
Requirements
- Software
- apt install ssh git php-curl php-cli devscripts debhelper tar quilt
- Follow "Installing Arcanist" here.
- Configuration
- Uncomment the deb-src lines in /etc/apt/sources.list so apt build-dep works correctly.
- So you get credit where credit's due:
- For git:
- git config --global user.name "your full name"
- git config --global user.email "your email address"
- For Debian tools:
- Add the following to $HOME/.bashrc:
- export DEBFULLNAME="your full name"
- export DEBMAIL="your email address"
- export EMAIL="your email address"
- Reload your configuration for it to take effect immediately: source $HOME/.bashrc
- Add the following to $HOME/.bashrc:
- For git:
- Set up ssh:
- Create a key
- Easy way
- ssh-keygen
- Accept the default name ($HOME/.ssh/id_rsa)
- Enter a password ≥ 5 characters
- Hard way
- ssh-keygen -C some-identifying-info -t ed25519 # more secure
- Select a unique name e.g. $HOME/.ssh/phab # allows you to have more than one key
- Pick an even better password!
- Edit $HOME/.ssh/config to include
- Host phab.lubuntu.me
- IdentityFile ~/.ssh/phab
- Easy way
- Add ssh key to Phab:
- Go to Settings
- Click on "Personal Account Settings"
- Click on "SSH Public Keys" under "Authentication" on the left side
- Click SSH Key Actions → Upload Public Key
- Give your key a name (anything works) and then copy and paste the public key from the step above
- Create a key
- $HOME/.quiltrc from packaging guide
- Final Arcanist tweaks:
- arc set-config phabricator.uri "https://phab.lubuntu.me/"
- arc install-certificate
Extras
- ssh agent with keychain TODO
- gpg setup
- Get the software: sudo apt install gpg
- Make a new key: gpg --full-generate-key
- Select an RSA and RSA pair
- Select 4096 bits for key size
- Select expiration date, or none (note you can always move the date out farther)
- Verify and accept
- Enter your real name
- Enter your email address
- A comment is not necessary
- Give it a good password
- 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
- bzr setup TODO
Tags
None
Subscribers
None
- Last Author
- wxl
- Last Edited
- Apr 12 2019, 8:23 PM