forked from atom/git-utils
-
-
Notifications
You must be signed in to change notification settings - Fork 2
Rewrite in N-API and update libgit2
#6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
savetheclocktower
merged 22 commits into
pulsar-edit:master
from
savetheclocktower:context-aware-napi-and-libgit2-upgrade
Jun 1, 2026
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
17d069b
Convert to N-API
savetheclocktower 1a3bd9d
Bump the version of Node used in CI
savetheclocktower 43e3949
Streamline CI
savetheclocktower 9873477
Sanity check
savetheclocktower 5610632
Un-focus a spec
savetheclocktower a86e62f
Upgrade to latest Jasmine; remove `waitsFor`
savetheclocktower 9ce8bf7
Update test task
savetheclocktower ca763db
Attempt to bring back the submodule strategy
savetheclocktower f9218a2
Reintroduce submodule
savetheclocktower 9a3029c
Merge from `master`
savetheclocktower 4d71971
Add back `prepare` steps to CI jobs
savetheclocktower 5ac7259
Update libgit2 submodule to v1.8.5
savetheclocktower 1723dfa
Rewrite `binding.gyp` for new `libgit2`…
savetheclocktower a7df228
Attempt to run CI in Windows
savetheclocktower 5875d41
Tweak constant definitions
savetheclocktower cbd3a1e
Add `GIT_WIN32` on Windows
savetheclocktower 440ba31
More Windows flags
savetheclocktower 12ad540
Fixes for Windows specs
savetheclocktower 5c4ce57
Another Windows fix
savetheclocktower 3ba5191
Throw macOS into the CI matrix
savetheclocktower bf222be
Update .github/workflows/ci.yml
savetheclocktower 4d5850e
Add `ubuntu-24.04-arm` to the CI matrix
savetheclocktower File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains hidden or 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 |
|---|---|---|
| @@ -1,23 +1,44 @@ | ||
| name: CI | ||
|
|
||
| on: [push] | ||
| on: | ||
| push: | ||
| pull_request: | ||
|
|
||
| jobs: | ||
| Build: | ||
| runs-on: ubuntu-latest | ||
| env: | ||
| CC: clang | ||
| CXX: clang++ | ||
| npm_config_clang: 1 | ||
| steps: | ||
| - uses: actions/checkout@v2 | ||
| - uses: actions/setup-node@v2 | ||
| with: | ||
| node-version: 16 | ||
| - name: Install | ||
| run: | | ||
| npm install | ||
| - name: Test | ||
| run: | | ||
| npm run lint | ||
| npm run test | ||
| Build: | ||
| runs-on: ${{ matrix.os }} | ||
| strategy: | ||
| matrix: | ||
| include: | ||
| - os: ubuntu-24.04-arm | ||
| env: | ||
| CC: clang | ||
| CXX: clang++ | ||
| npm_config_clang: 1 | ||
| - os: ubuntu-latest | ||
| env: | ||
| CC: clang | ||
| CXX: clang++ | ||
| npm_config_clang: 1 | ||
| - os: windows-latest | ||
| env: {} | ||
| - os: macos-latest | ||
| env: | ||
| CC: clang | ||
| CXX: clang++ | ||
| npm_config_clang: 1 | ||
| env: ${{ matrix.env }} | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| submodules: recursive | ||
| - uses: actions/setup-node@v4 | ||
| name: Install Node | ||
| with: | ||
| node-version: 20 | ||
| - name: Install module | ||
| run: | | ||
| npm run prepare | ||
| npm install | ||
| - name: Run tests | ||
| run: npm test | ||
This file contains hidden or 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
This file contains hidden or 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,4 @@ | ||
| [submodule "deps/libgit2"] | ||
| path = deps/libgit2 | ||
| url = https://github.com/libgit2/libgit2.git | ||
| ignore = untracked |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.