Skip to content

Commit

Permalink
prepare-for-packaging.md: Add git identy setup
Browse files Browse the repository at this point in the history
Noticed this step was missing while making the video
  • Loading branch information
davidjharder authored Mar 4, 2024
1 parent 96b474c commit b26538b
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion docs/packaging/prepare-for-packaging.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ We need to install a few things in order to get started with packaging:
sudo eopkg it go-task git github-cli jq solbuild solbuild-config-unstable ypkg
```

## Setting up a GitHub account
## Setting up a GitHub account and Git

The Solus source repositories for the package repository currently reside on [github.com/getsolus/packages](https://github.com/getsolus/packages). You will need a GitHub account to submit patches and file issues. You can create a GitHub account [here](https://github.com/signup). Note that you will also need to set up [2FA](https://docs.github.com/en/authentication/securing-your-account-with-two-factor-authentication-2fa) (two factor authentication) for your account.

Expand All @@ -54,6 +54,18 @@ Once you have a GitHub account, you need to configure `github-cli` to work with

See the [GitHub CLI quickstart](https://docs.github.com/en/github-cli/github-cli/quickstart) for some common uses of the tool.

### Git identity setup

If you have not used git before, you should set your git identiy in your global git config file (`~/.gitconfig). Use the following commands:

Check warning on line 59 in docs/packaging/prepare-for-packaging.md

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (identiy)

```bash
git config --global user.name "John Doe"
git config --global user.email [email protected]
```

See the [Git Book](https://git-scm.com/book/en/v2/Getting-Started-First-Time-Git-Setup) for more first-time setup options.


## Setting up solbuild

The `solbuild` tool must first be initialized with a base image. All builds thereafter will use this as a base, and construct a temporary overlay root to save on time and disk space in builds.
Expand Down

0 comments on commit b26538b

Please sign in to comment.