Closed agcolom closed 9 years ago
@arthurvr Yes, I think i've fixed it here
Looks fine but I have one doubt - are there more places where we describe steps for maintainers that might have the repo set up to have an origin
upstream remote? This would be quite repetitive to put this same text in all those places.
@scottgonzalez Thanks for the feedback. I've updated the PR with your comments, and put it in a warning div. @mzgol I may have missed it but I have never come across such an explanation anywhere on our sites.
@mzgol I may have missed it but I have never come across such an explanation anywhere on our sites.
I meant that this notice will make only maintainers that go to this specific site see the notice about upstream
/origin
, others won't. So for it to be complete it should either be everywhere or nowhere; but "everywhere" will mean either repetition or linking to a common source.
@mzgol oh I see. I suppose we could in that case copy the same warning div to this page: http://contribute.jquery.org/repo-maintainers-guide/ where we first mention pushing to upstream. @scottgonzalez What do you think?
Or we put the warning just before the heading http://local.contribute.jquery.org/repo-maintainers-guide/#fixing-commits (so just after we mention both origin
and upstream
) and say
The examples above use upstream
for the repo in the jQuery organization on GitHub. Use git remote -v
to ensure that you're pushing to the correct remote repo. For example, if you use orgin
for the repo in the jQuery organization, and ustream
for your fork, swap upstream
with origin
.
For example, if you use (..) ustream for your fork.
This seems weird, I doubt many people will name their forks upstream
; it's more likely they'll use their own name or sth else. I'd remove that part.
That page already has this:
Assuming you have the
jquery
repo set as yourupstream
remote
so maybe here it's already covered. Are there more sites where this would be an issue?
@mzgol indeed, that's at the top of the maintainer's guide page. So I'd agree with you, we don't need to add more on that page. I think all other pages are covered. So I think for now we only need to fix the page I'm taking care of in this PR.
I think all other pages are covered. So I think for now we only need to fix the page I'm taking care of in this PR.
LGTM then!
@scottgonzalez What do you think?
I think you should do whatever makes sense for the people who need the documentation :-)
Fixes gh-116