CouncilDataProject / seattle_v2

Website for interacting with Seattle's instance of CDP
https://councildataproject.github.io/seattle
BSD 3-Clause "New" or "Revised" License
5 stars 6 forks source link

admin/update-contributing-doc #66

Closed tohuynh closed 4 years ago

tohuynh commented 4 years ago

Pull request recommendations:

This guide won't help the contributors who are currently having this issue. The solution I can think of is to delete their fork repo, fork again, and follow this guide. @JacksonMaxfield do you know any other way?

Thanks for contributing!

evamaxfield commented 4 years ago

I guess I don't know what the issue of "delete the fork and remake the fork" is. If their fork's head is drastically different from CouncilDataProject/seattle they could simply pull upstream master and force push to their origin master no?

tohuynh commented 4 years ago

This is excellent. Thanks for updating these. Can you mirror them to cdptools as well?

Yes, will do.

tohuynh commented 4 years ago

I guess I don't know what the issue of "delete the fork and remake the fork" is. If their fork's head is drastically different from CouncilDataProject/seattle they could simply pull upstream master and force push to their origin master no?

Yes, but the issue is to prevent old commits(from previous PRs) from being a part of a new PR.

Suppose I have 'commit a' in my master branch. I make a PR and it gets merged to upstream master.

I make another commit 'commit b' in my master branch. If I pull from upstream master, the git history will look like something this:

...,the squash and merge commit (which contains 'commit a'), 'commit a', 'commit b'.

If I make another PR, the git history of the PR will contain 'commit a', 'commit b'.

For example, if you look at the latest commit on cdptools, you will see * Cloning prod to target firebase database functionality as one of the squashed commits. ` Which was a commit from one of the previous PR, but isn't relevant to process single event PR.

evamaxfield commented 4 years ago

Ahhh I see what you are saying. Yea I mean this is basically just going back to people should be like full force clearing their master branch.

The ideal would be: never branch off another branch but I guess this is a place I need to learn better open source practices.