-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
NOT MERGED: Add bucket storage support #9567
Conversation
c13ed6b
to
0b24589
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think all temp dir should be local file system.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this PR 😄 very excited for it.
I've gone through and noticed a few items with import structures, and noted a few of them (there are others that I haven't noted, but should still also be resolved)
please resolve conflicts |
d6d1f15
to
eb6fac9
Compare
Is there any chance of storing all of the git data on the s3 backend ? Thanks |
I think there's likely no plan to support that feature. |
I've saved the old contents of this PR as the pr-9567 branch in my fork zeripath. Was this force push intentional? |
Why this PR' state is |
@patcito AFAIU that will not revert the mislabelling of the PR being merged. I suspect it is not a huge problem - the PR was not on a milestone, it now has the skip-changelog label, and its functionality has been replaced. I've changed the top comment to reflect the situation. I could change the PR title but it might be too much. Feel free to try to repush the old changes but I suspect that won't change the status of the PR. |
@patcito On my PR, I defined a minial interafce and I think it's easy to implement. We have |
@lunny @lafriks I have checked this bug carefully, I found the reason is that the results of fast-forward style merge and just make head branch same with base branch by force-push are the same, It's hard to distinguish between them by "git" cmd. It's really a hard thing... :( ref: Lines 115 to 123 in e14f608
|
yes @a1012112796 that is what I was meaning, and as this PR demonstrates Gitea replicates GH's behaviour exactly. In Gitea we could do something different whereby if a force-push to master occurs we close the PR instead but at present it appears we replicate GH exactly. |
THIS PR WAS NOT MERGED
REPLACED BY #11387
PLEASE NOTE This PR was not merged and has been labelled merged in error due to force-pushing master before closing the PR
It was replaced by #11387
For future reference the commits that were on this branch are available at https://github.com/zeripath/gitea/tree/pr-9567
Many thanks to @cuonglm for their hard work on this PR - even though the work was not merged it was helpful and appreciated.
This is a follow up PR for #7795, cherry-pick those commits and add:
storage-migrate
command to migrate from local to cloud storage and vice versa.Running:
will migrate from local to cloud storage, and:
will migrate back from cloud to local.