Skip to content
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

[WIP] Add README.md #5

Closed
wants to merge 3 commits into from
Closed

[WIP] Add README.md #5

wants to merge 3 commits into from

Conversation

nulltoken
Copy link
Member

Fix #2

Remaining tasks:

  • How to test that the produced NuGet package can be safely published (ie. Running the LibGit2sharp tests against it)
  • Add a section explaining how to build the NuGet package (see Create LibGit2Sharp.NativeBinaries package  #3 (comment) for inspiration, although that will surely be automated at some moment in time)

Sorry, something went wrong.

@nulltoken
Copy link
Member Author

Describe how to work against a WIP libgit2 (a branch in a pull request)

$ cd libgit2
$ git fetch origin +refs/pull/3127/merge:refs/remotes/pr/3127
$ git checkout refs/remotes/pr/3127

Apply the following changes to your commit to make the CI servers do the dance

PS > .\UpdateLibgit2ToSha.ps1 pr/2137
diff --git a/.travis.yml b/.travis.yml
index 33aeca6..c4c5be1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,6 +12,10 @@ before_install:
  - date -u
  - uname -a
  - env | grep -v "BINTRAY_API_KEY" | sort
+ - cd libgit2
+ - git fetch origin refs/pull/3127/merge:refs/remotes/pr/3127
+ - git checkout refs/remotes/pr/3127
+ - cd ..

 install: true
diff --git a/appveyor.yml b/appveyor.yml
index e53c359..8a98466 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -4,6 +4,10 @@ skip_tags: true

 install:
 - git submodule update --init --recursive
+- cd libgit2
+- git fetch origin refs/pull/3127/merge:refs/remotes/pr/3127
+- git checkout refs/remotes/pr/3127
+- cd ..

 build_script:
 - ps: .\build.libgit2.ps1 -vs 12

@nulltoken
Copy link
Member Author

Troubleshooting managed/native issues:

diff --git a/appveyor.yml b/appveyor.yml
index 0efc216..6b05d85 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -10,7 +10,7 @@ install:
 - git submodule update --init --recursive

 build_script:
-- ps: .\build.libgit2.ps1 -vs 12
+- ps: .\build.libgit2.ps1 -vs 12 -debug

 after_build:
 - ps: |

@nulltoken nulltoken mentioned this pull request Jul 16, 2015
@nulltoken nulltoken closed this Oct 25, 2020
@bording bording deleted the ntk/readme branch August 12, 2021 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a README.md file
1 participant