Skip to content

Commit

Permalink
Added instructions to update libgit2
Browse files Browse the repository at this point in the history
  • Loading branch information
swisspol committed Dec 3, 2015
1 parent db4a54c commit 2bce977
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions UPDATING-LIBGIT2.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
### Update Fork From Upstream

- Checkout https://github.com/git-up/libgit2
- Switch to `gitup` branch
- Pull from upstream at https://github.com/libgit2/libgit2
- Make sure `gitup` branch current tip is tagged with the corresponding date e.g. `2015-12-02` and push tag
- Rebased `gitup` branch on top of upstream

### Test Fork

- Run `./update-xcode.sh`
- Select `libgit2_clar` project
- Enable address sanitizer
- Set environment variable `ASAN_OPTIONS` to `allocator_may_return_null=1`
- Run to run all default tests
- Run again passing `-sonline` as an argument to run online tests

### Update and Test GitUp

- Force push `gitup` branch to remote
- Force update `libgit2` submodule
- Open GitUp Xcode project
- Select `GitUpKit (OS X)` target and run tests
- Verify `GitUpKit (iOS)` builds
- Commit and push

0 comments on commit 2bce977

Please sign in to comment.