-
Notifications
You must be signed in to change notification settings - Fork 19
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
Git and Github contributions #373
Comments
I think the first problem to fix is that the shoes3/shoes3 repo is tied to the shoes/shoes repo. I can't remember if I forked it or cloned it but github/git should be told it's not tied to the dead shoes. Fixing that may involve other forks (@backorder, @passenger94) Here is an example of the situation/solution for creating pull requests from a fork to the forked. Not exactly our setup but close enough gain some knowledge. I'm going to very cautious because no body wants to loose a repo or a fork. |
Shoes3 is a fork of Shoes repo as it should be.
You mentioned this problem on a number of occasions through the years. Looking at Shoes repo doesn't show anything on my side. Perhaps you could take screenshots or something? Working on Shoes3 repo is obviously not supposed to affect Shoes repo. |
Why do we need Shoes3 repo in the first place? Can't we ask the guys from Shoes4 to let us merge back into Shoes repo? It's kinda silly to split the community in such a way and it sends a confusing message to people. One guy had a pull request that will be entirely ignored on shoes/shoes-deprecated/pull/283. Clearly he doesn't know about Shoes3 repo. |
I believe the reason I created Shoes3 was that I didn't want to sort though the hundreds of commits different between my home box and the Shoes repo. I was not git savvy, remember? I did discuss my work with the Shoes folks (now Shoes4) and one volunteered to merge all the stacked up commits but that didn't happen. I'm sure the Shoes4 folks will let us use Shoes repo but we'd still have to deal with those all commits and modify our forks - dangerous, not fun, not much to gain. I wonder if there is way to 'close'' the Shoe repo from future commits and new issues? Or a redirect to Shoes3. |
UPDATED Then we'll see where it shows up. |
@backorder - I update the previous post to use the proper branch name. |
Half finished wiki page. |
I see that I simplified past the hard part, @backorder . You have a remote tracking branch of 'resizable' on your repo - the goal is to push your `resizable branch to shoes3/shoes3 as a branch there. This write up suggests you have to change your 'upstream`. If your 'upstream' was pointed to the old shoes/shoes that would fit with some of the symptoms I see. Sadly, the article assumes you're going to use a browser to create the pull request. But, let's test it before we get deeper in the weeds. Let's find out where your 'upstream' points to. How to find that out? I don't know but it's the first thing to check. This Big Book of Git article is written from the users repository perspective (that would be you). Lot's of hints. I can see how I can pull your branch but that just puts the burden on me to do all the work. |
Aha! - |
It seems that I don't have this problem. There is in fact no upstream. Do you have a specific directory structure that would include shoes3 as a subdirectory of shoes or something?
|
Interesting. |
I don't know if you still want me to merge resizable branch or wait a little but, in any case, here is the output of On Shoes3 repo:
On my repo:
|
You have two different Shoes repos on your machine? Your shoes3 clearly points to github.com/Shoes3/shoes3.git , yet your resizable work was done on github/backorder/shoes3.git. The first one Shoes3 looks like a clone - just a guess. Which one (or both) don't have an upstream (get remote show upstream)? |
Let's just do something and see what happens. In the repo dir with resizable, git remote add upstream https://github.com/Shoes3/shoes3.git
git checkout resizable
git push upstream resizable This should, in theory push the branch from you local files to my github repo - assuming there are no permissions issues. It may complain that you should not be in branch resizable. If so git checkout master and redo the |
This describes how to create a pull request from the cmd line from your repo to your upstream so you'll need to set that upstream. The url in the example would be be your https://githbub.com/backorder/shoes3. You can also go to your website and push the pull request button - a little more confusing. Once again, it needs the upstream to be set for your repo. |
Actually, a few of them. Is that a problem? I suppose it would be better to switch to local branches but it's so much work compared to move around directories. The following duplicated my
Not sure what to do here? You committed something in the mean time and it would need some merging. It seems that is what we would want in the first place (rather than duplicating the branch to master).
It is relatively straightforward with the website but we should gain from learning proper git command line. We are both able to use it but not overly comfortable with it. |
Success I have the branch! Thank You! Yes, I did a commit to master for a different experiment so your master is out of sync. I believe you you can do I think |
Because, there is nothing to do. The first attempt |
OK! |
Hey all! I'm one of the folks working on Shoes 4 and found this issue when looking around related to shoes/shoes4#713. Currently, I've renamed the old https://github.com/shoes/shoes to shoes/shoes-deprecated to give more indication that it's not active. (Made some README updates too). There isn't a "lock this repo entirely", but we could shut off issues on the repo to discourage folks from reporting things where they won't be heeded... would lose that history, but don't know if that's much loss when none of us are looking at it? I totally get why it'd be a pain to merge back from shoes3/shoes3 after so long, but how would you feel about moving the shoes3 repo (and any others?) to the shoes org? Happy to get you all the same permissions etc. that you've currently got, and then shoes 3 and 4 can live happily in closer proximity to one another. All my experience points to GitHub properly redirecting when pushing/pulling against remotes where the repo has been renamed/moved, so folks who've cloned would be fine with this move. What do you think? |
Hi @jasonrclark ! Right now Shoes community and resources are fragmented. We are all missing out on potential contributions and sharing code on Shoes 3 and Shoes 4. The issue tracker on the official Shoes repo sometimes goes unnoticed for months and we may lose newcomers in the process. it would be a good thing to merge Shoes 3 back into Shoes. There are some way to move issues using https://github-issue-mover.appspot.com/ but it's not working in batches. A little cumbersome. My understanding of the Shoes 4 issue you mentioned is that you guys want to move Shoes/Shoes4 to Shoes/Shoes. It could be acceptable though we need some plan to see where and how Shoes 3 would fit in Shoes/*. I also think we should have closer collaboration with Shoes 4 team. We should be able to share more code, ensure better compatibility, etc. For example, code samples are not always shared back and forth, and Backporting Shoes 4 RSpec (#79) would ensure both version of Shoes comply to the same expectations. |
@jasonrclark - there was a time when I felt owner role was necessary for some reason. I believe it was (is?) required in order to transfer repos. Other than that possible problem, I'm ok moving shoes3/shoes3.git and some of related Shoes3repos back to the home shoes/ (owner role is a pain since its so rarely used). |
According to this |
@backorder Although that issue started by proposing Thanks for pointer to the issue mover. Since the issues back on old @ccoupe I've tweaked the settings in the Shoes org to allow for member creation of repos, which by that doc should be enough to let you move things over. Happy to bump you to owner and/or set other permissions if you want 'em too. So happy to see Shoes getting back together! |
I tried transfering shoes3 to shoes and got this message: Git never forgets, does it? |
Ha, well GitHub doesn't at least. Given that GH tracks the repo moves fine, I can make a new "retirement" org and shuffle |
Right, but GitHub's complaining because we're trying to put two repos from the same "network" in an org together. If we move 100% agree that GH's intended flow would be merging, but seems like there's reluctance to do the fussing, and friction around issue migration (since |
I need to do an 'unfork' of shoes3.git which maybe best done by the github support folks according to net wisdom. @jasonrclark moving shoes.git to another org, May work. |
Up to you @ccoupe if you'd rather I try the move, or if you'd rather contact support first. Happy either way on my end. |
While moving shoes.git to another org would provide us with some information (breaking my upstream) using support would provide some more interesting information. Can you rename shoes-deprecated back to shoes.? Then I'll work with github support. |
@jasonrclark Sorry - don't rename it that break what you've done. |
@ccoupe Actually, when I've done renames at work, any name that the repo has had before seems to continue to be supported--even when they go through a chain of renames. Nothing particular broken for me if you do want me to rename, but just let me know either way. |
I sent this to support:
|
It's been transferred! Pretty fast response from github support for a Sunday. I need to fix up somethings on my local .git/config but I expected that. |
Wow, awesome! This was so fast. :) |
Awesome! Welcome Shoes friends! 👞 👟 👠 |
I seem to lack permissions to write/push to shoes3.git. If I push via my command line I get ERROR: Permission to shoes/shoes3.git denied to ccoupe.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists. If I attempt to edit a file at github I get You’re editing a file in a project you don’t have write access to. Submitting a change to this file will write it to a new branch in your fork ccoupe/shoes3, so you can send a pull request. |
Tweaked settings so the Shoes team in org which I believe you are in @ccoupe should be able to write. |
Yes, it's working now. Thank you @jasonrclark I need to add a couple of people from the old site, can I do that or do you have issue invites? |
Cool. If you want I can give you admin rights and you could add folks @ccoupe. Otherwise if you let me know the handles I’ll add em tonight. |
if you need an unskilled in git backup admin, I can volunteer, somewhat reluctantly. The missing shoes3 folks are @dredknight , @kingdonb, @passenger94 - the latter two may not accept the invite so that would be good to know. |
Since there's a couple of us with admin around and you don't seem too keen, I've just invited those three along @ccoupe. Feel free to ask if at any point you do want to be able to manage things and/or if other folks ought to be added. |
Hey everyone, |
So just as soon as you set a course... GitHub releases a feature that makes it even better! They now support making repos read-only aka "archived". I've made that setting change over on Anyone got opinions there? |
I'd leave it alone unless evidence pops up. A R/O shoes-deprecated should be fine. |
One of the perks from moving back to Shoes repo is that we can now search through Shoes3 code using the search box on top of Github website. Something that forks cannot do. Enjoy! |
Btw have in mind that github has a project tab that we can use for larger shoes projects (for example - profiler, graphs, performance releases?) that we can use to bind different single issues to. It will be nice feature to use especially if issue count grows larger. Actually we can move the facebook/git discussions there as they do not fit into the issues list. |
We shall openly talk about our grievances with Git and Github in order to find a common ground to efficiently contribute to Shoes without burdening other members.
I would like to recommend we come up with a series of instructions for common tasks including contributing from branches and forks. The instructions should at least include git commands but possibly also through Github web interface. These instructions will be placed on our wiki for all contributors to see.
Nothing fancy. Just something like a mindless step-by-step would do. We do the mind stuff in here.
The text was updated successfully, but these errors were encountered: