-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added instructions to update libgit2
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |