Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
How to review issues on GitHub?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  10 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Andrey Novoseltsev  
View profile  
 More options Oct 21 2012, 10:45 am
From: Andrey Novoseltsev <novos...@gmail.com>
Date: Sun, 21 Oct 2012 07:45:26 -0700 (PDT)
Local: Sun, Oct 21 2012 10:45 am
Subject: How to review issues on GitHub?
Hello,

So - what do I need to do to review an issue on GitHub? Specifically
this one:
https://github.com/sagemath/sagenb/pull/97

I've followed Development workflow and got my own fork and local copy
of the main notebook, but I am not sure what to do to get John's
changes for testing.

I am also not sure how the comment system works on GitHub - I've asked
a question on the issue, but didn't get any notification of it as
usually happens with trac. Did John get a notification or nobody will
see my question unless they go to the issue themselves?

Thank you!
Andrey


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
P Purkayastha  
View profile  
 More options Oct 21 2012, 11:03 am
From: P Purkayastha <ppu...@gmail.com>
Date: Sun, 21 Oct 2012 23:03:37 +0800
Local: Sun, Oct 21 2012 11:03 am
Subject: Re: How to review issues on GitHub?
On 10/21/2012 10:45 PM, Andrey Novoseltsev wrote:

You need to add jhpalmieri's branch too. Like so:

1. first add the remote sagenb
$ git remote add jhpalmieri git://github.com/jhpalmieri/sagenb.git

2. Next, you can either cherry-pick the changes you want, or change
temporarily to the mathmode branch.
$ git checkout jhpalmieri/mathmode

3. Now, create your own copy of this remote branch. Let's call your own
branch jh-mathmode.
$ git checkout -b jh-mathmode

4. Now you can test, do modifications, etc.

5. When you want to return back to the default branch, just do
$ git checkout master

As for notifications, you will get a notification at your email, and
also at github, if someone replies or comments. Whoever prior to you
participated in that pull request will have got a notification email.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
P Purkayastha  
View profile  
 More options Oct 21 2012, 11:10 am
From: P Purkayastha <ppu...@gmail.com>
Date: Sun, 21 Oct 2012 23:06:34 +0800
Local: Sun, Oct 21 2012 11:06 am
Subject: Re: How to review issues on GitHub?
On 10/21/2012 11:03 PM, P Purkayastha wrote:

Sorry, I forgot a step in between:

$ git fetch jhpalmieri


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrey Novoseltsev  
View profile  
 More options Oct 21 2012, 12:41 pm
From: Andrey Novoseltsev <novos...@gmail.com>
Date: Sun, 21 Oct 2012 09:41:35 -0700 (PDT)
Local: Sun, Oct 21 2012 12:41 pm
Subject: Re: How to review issues on GitHub?
Thank you, that worked!

Is this a usual workflow with git repositories? It seems that I had to
download 7M+ to test just a few lines, not like that was a big deal on
a 20Mbit connection, but if it was the same with 300M+ Sage, reviewing
patches would get annoying on any connection...

Andrey

On Oct 21, 9:10 am, P Purkayastha <ppu...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrey Novoseltsev  
View profile  
 More options Oct 21 2012, 4:48 pm
From: Andrey Novoseltsev <novos...@gmail.com>
Date: Sun, 21 Oct 2012 13:48:30 -0700 (PDT)
Local: Sun, Oct 21 2012 4:48 pm
Subject: Re: How to review issues on GitHub?
OK, what do I do now that I like the change? I.e. "positive review"?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
P Purkayastha  
View profile  
 More options Oct 21 2012, 11:13 pm
From: P Purkayastha <ppu...@gmail.com>
Date: Mon, 22 Oct 2012 11:13:38 +0800
Local: Sun, Oct 21 2012 11:13 pm
Subject: Re: How to review issues on GitHub?
On 10/22/2012 04:48 AM, Andrey Novoseltsev wrote:

> OK, what do I do now that I like the change? I.e. "positive review"?

Yes. Just comment on the ticket :)

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
P Purkayastha  
View profile  
 More options Oct 21 2012, 11:20 pm
From: P Purkayastha <ppu...@gmail.com>
Date: Mon, 22 Oct 2012 11:20:02 +0800
Local: Sun, Oct 21 2012 11:20 pm
Subject: Re: How to review issues on GitHub?
On 10/22/2012 12:41 AM, Andrey Novoseltsev wrote:

> Thank you, that worked!

> Is this a usual workflow with git repositories? It seems that I had to
> download 7M+ to test just a few lines, not like that was a big deal on
> a 20Mbit connection, but if it was the same with 300M+ Sage, reviewing
> patches would get annoying on any connection...

> Andrey

I think you downloaded 7M probably because you didn't have all the
files. AFAIK, this shouldn't happen every time. Maybe kini knows better.

The other option is to go directly to the code and comment there. You
can go here, (in this particular case)
https://github.com/sagemath/sagenb/pull/97/files

On the left of every line you will see the option to add a comment to
that particular line. This you can do if you have anything specific to
comment on.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Keshav Kini  
View profile  
 More options Nov 14 2012, 9:40 pm
From: Keshav Kini <keshav.k...@gmail.com>
Date: Wed, 14 Nov 2012 18:40:13 -0800
Local: Wed, Nov 14 2012 9:40 pm
Subject: Re: How to review issues on GitHub?

P Purkayastha <ppu...@gmail.com> writes:
> On 10/22/2012 12:41 AM, Andrey Novoseltsev wrote:
>> Thank you, that worked!

>> Is this a usual workflow with git repositories? It seems that I had to
>> download 7M+ to test just a few lines, not like that was a big deal on
>> a 20Mbit connection, but if it was the same with 300M+ Sage, reviewing
>> patches would get annoying on any connection...

>> Andrey

> I think you downloaded 7M probably because you didn't have all the
> files. AFAIK, this shouldn't happen every time. Maybe kini knows
> better.

The 7M is because you did `git fetch jhpalmieri`, which not only fetches
the particular branch you wanted, but all other things that jhpalmieri
had on his branch which your local repository didn't already "know
about". Possibly there were some large things in that category. Note
that this doesn't have to be stuff that only jhpalmieri had - it could
also be new stuff in the main sagemath master branch which you hadn't
fetched but jhpalmieri had, and which jhpalmieri had based one or more
of his branches on.

If you want to avoid this and only get the commits from a particular
branch, you should do `git fetch jhpalmieri A:B` where A is the name of
jhpalmieri's branch on his repository, and B is the name of your branch
which you want to be updated to match jhpalmieri's branch (B doesn't
need to exist yet).

Personally I'd just do `git fetch jhpalmieri` and not worry too much
about network traffic - it should only be proportional to the amount of
development that jhpalmieri is doing, not to the size of Sage. Plus, it
gets you the handy jhpalmieri/* "remote tracking branches", which `git
fetch jhpalmieri A:B` doesn't, I think. And really, 7MB is normally
pretty huge IME. I guess either your master was way behind the upstream
master, or you missed some large commit like a javascript library update
or something...

-Keshav

----
Join us in #sagemath on irc.freenode.net !


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Keshav Kini  
View profile  
 More options Nov 14 2012, 9:44 pm
From: Keshav Kini <keshav.k...@gmail.com>
Date: Wed, 14 Nov 2012 18:42:30 -0800
Local: Wed, Nov 14 2012 9:42 pm
Subject: Re: How to review issues on GitHub?

P Purkayastha <ppu...@gmail.com> writes:
> On 10/22/2012 12:41 AM, Andrey Novoseltsev wrote:
>> Thank you, that worked!

>> Is this a usual workflow with git repositories? It seems that I had to
>> download 7M+ to test just a few lines, not like that was a big deal on
>> a 20Mbit connection, but if it was the same with 300M+ Sage, reviewing
>> patches would get annoying on any connection...

>> Andrey

> I think you downloaded 7M probably because you didn't have all the
> files. AFAIK, this shouldn't happen every time. Maybe kini knows
> better.

The 7M is because you did `git fetch jhpalmieri`, which not only fetches
the particular branch you wanted, but all other things that jhpalmieri
had on his branch which your local repository didn't already "know
about". Possibly there were some large things in that category. Note
that this doesn't have to be stuff that only jhpalmieri had - it could
also be new stuff in the main sagemath master branch which you hadn't
fetched but jhpalmieri had, and which jhpalmieri had based one or more
of his branches on.

If you want to avoid this and only get the commits from a particular
branch, you should do `git fetch jhpalmieri A:B` where A is the name of
jhpalmieri's branch on his repository, and B is the name of your branch
which you want to be updated to match jhpalmieri's branch (B doesn't
need to exist yet).

Personally I'd just do `git fetch jhpalmieri` and not worry too much
about network traffic - it should only be proportional to the amount of
development that jhpalmieri is doing, not to the size of Sage. Plus, it
gets you the handy jhpalmieri/* "remote tracking branches", which `git
fetch jhpalmieri A:B` doesn't, I think. And really, 7MB is normally
pretty huge IME. I guess either your master was way behind the upstream
master, or you missed some large commit like a javascript library update
or something...

-Keshav

----
Join us in #sagemath on irc.freenode.net !


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Keshav Kini  
View profile  
 More options Nov 14 2012, 10:18 pm
From: Keshav Kini <keshav.k...@gmail.com>
Date: Wed, 14 Nov 2012 19:18:00 -0800
Subject: Re: How to review issues on GitHub?
Whoops, sorry for the double post.

-Keshav


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »