-
Notifications
You must be signed in to change notification settings - Fork 0
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
Splitting API and data sources #11
Comments
- copied from ParkAPI2, adjusted README.md a bit
- add submodules to checkout action - fix path for data-sources requirements.txt
Heyho @jklmnn and @kiliankoe The data-sources are now compartmentalized into ParkAPI2-sources and the CI script and README are updated. As it looks, you need to review and accept the pull request #12 (well, as admin i can override the review requirement but then again: you need to deploy it on the server so i keep you in the loop. Please check the README about the |
@jklmnn, if you have time please configure this repo the same way as the original ParkAPI, meaning: do not allow merge requests to not interfere with rebasing and please explain how an actual contribution from a fork must be requested. |
I configure the repo. Now PRs can only rebased and merge commits are forbidden. Also all conversations in reviews have to be resolved. The review process I have in mind works as follows: About the commit picking: Many people just clone the repo, add something to their master/main and then open a PR. That works for the first time but will likely break the second time when the fork is not properly updated. In the particular cases people merged the projects current master into their own master creating a merge commit. Since merge commits are not allowed I cannot directly merge that PR. If it was allowed the projects commit history would include multiple merge commits of other people updating their branches, adding a lot of clutter to our history and making it hard to read. The proper way to update a fork is as follows: $ git remote add upstream <url of the upstream repo>
$ git checkout master
$ git rebase upstream/master
$ # if that fails:
$ git reset --hard upstream/master
$ # note that this will delete any change on master that is different from upstream Then all new changes can be based on the proper master branch. A good example for the problem that merge commits create is offenesdresden/ParkAPI#235. This PR would add 19 commits. 8 of them are merge commits, 10 of them are commits that are already on master. There is only a single commit that contains the change this PR intends to add to the upstream repo. Just tell me if you need any additional info. |
Hey, thanks a lot. I'm still trying to understand the work-around. The appearance of the useless merge commits is understood. If a contributor forks the repo, commits something and then later (after new upstream commits) pulls with I start to get an idea of the |
Sorry for the late reply. I'm not 100% sure I understand your question correctly. |
No description provided.
The text was updated successfully, but these errors were encountered: