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

Repository Get Archive Link #765

Merged
merged 10 commits into from
May 8, 2015

Conversation

hnrkndrssn
Copy link
Contributor

Partial fix for #748

  • Get link to the archive
  • [ ] Get the actual content of the archive.... 🎅 🎁 Will send a separate PR for this one

@NikolayIT
Copy link

When this will be merged?

@@ -1,5 +1,6 @@
using System;
using System.Reactive.Threading.Tasks;
using Microsoft.SqlServer.Server;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wait, what?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Uhm.......😲

I have no idea where that would have come from...I will of course remove said reference quicker than quick 😁


From: Brendan Forstermailto:notifications@github.com
Sent: ‎23/‎04/‎2015 3:10
To: octokit/octokit.netmailto:octokit.net@noreply.github.com
Cc: Henrik Anderssonmailto:henrik.a.andersson@outlook.com
Subject: Re: [octokit.net] Repository Get Archive Link (#765)

@@ -1,5 +1,6 @@
using System;
using System.Reactive.Threading.Tasks;
+using Microsoft.SqlServer.Server;

Wait, what?


Reply to this email directly or view it on GitHub:
https://github.com/octokit/octokit.net/pull/765/files#r28893592

@shiftkey
Copy link
Member

@NikolayIT not sure - were you waiting the complete "get actual content" step as well? that code hasn't been implemented yet...

@hnrkndrssn
Copy link
Contributor Author

That'd be my fault, I was trying to come up w with a good solution for getting the contents of the file and then we got super busy at work.

I might have some time this weekend to have another look at it again.


From: Nikolay Kostovmailto:notifications@github.com
Sent: ‎23/‎04/‎2015 0:29
To: octokit/octokit.netmailto:octokit.net@noreply.github.com
Cc: Henrik Anderssonmailto:henrik.a.andersson@outlook.com
Subject: Re: [octokit.net] Repository Get Archive Link (#765)

When this will be merged?


Reply to this email directly or view it on GitHub:
#765 (comment)

@NikolayIT
Copy link

@shiftkey I only need link to the archive. :) And this is related to my #784

@shiftkey
Copy link
Member

@alfhenrik if you find yourself still struggling to make time for it, I'm happy to short this PR and just merge in the archive link stuff.

@hnrkndrssn
Copy link
Contributor Author

Happy for you to merge this PR now, and I'll send a new one for the content stuff 👍

[IntegrationTest]
public async Task GetsArchiveLinkAsTarball()
{
var github = new GitHubClient(new ProductHeaderValue("OctokitTests"))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💄 just use Helper.GetAuthenticatedClient() for these integration tests

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's what ctrl-c, ctrl-v gets you, shouldn't trust previous methods in same class 😇 (just kidding)

@shiftkey
Copy link
Member

shiftkey commented May 8, 2015

shiftkey added a commit that referenced this pull request May 8, 2015
@shiftkey shiftkey merged commit 54c5762 into octokit:master May 8, 2015
@shiftkey
Copy link
Member

shiftkey commented May 9, 2015

@NikolayIT this just went out in v0.11 - https://www.nuget.org/packages/Octokit/0.11.0

@NikolayIT
Copy link

@shiftkey, awesome! Thanks!

@hnrkndrssn hnrkndrssn deleted the repository-archivelink branch September 18, 2015 11:16
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.

3 participants