readme formatting

This commit is contained in:
Ryan Mulligan 2018-02-26 06:42:51 -08:00
parent 21363e0ae2
commit 9696177a02

View File

@ -8,7 +8,7 @@ Currently interesting files `ups.sh, up.sh, check-result.sh`.
git clone https://github.com/ryantm/repology-api.git
cabal2nix --shell --hpack . > shell.nix && nix-build shell.nix && result/bin/repology-api > packages-to-update.txt
```
2. Prepare a nixpkgs git repository where you want to do the updates. It expects origin to be where you want to push your updates. It clobbers any changes in that directory with `git reset --hard`. USE THIS ON A NEWLY CLONED REPO ONLY FOR THIS PURPOSE.
2. Prepare a nixpkgs git repository where you want to do the updates. It expects `origin` to be where you want to push your updates. It clobbers any changes in that directory with `git reset --hard`. USE THIS ON A NEWLY CLONED REPO ONLY FOR THIS PURPOSE.
3. copy list of ones you want to update into `ups.sh` ARGUMENTS variable
4. delete update arguments that seem wrong. (Weird version strings, versions that don't seem like an update, the update version doesn't look like it would work with nixpkgs)
5. Be in the directory of your update git repository. run `ups.sh` if it succeeds, it will make commits and push updates to the origin remote!
5. Be in the directory of your update git repository. run `ups.sh` if it succeeds, it will make commits and push updates to the `origin` remote!