-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Copy a file to the same directory #10825
Conversation
@skjnldsv Let's make it 15 and then backport to stable14 😉 |
@skjnldsv @jancborchardt @juliushaertl Mind to review this one? |
@dairaine @sunjam @lightweight Could you try this change for the feature you requested? |
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.
@greenido nice! Could you adjust the naming to the spec at #9931 (comment) ?
- filename (copy).txt
- filename (another copy).txt
- filename (3rd copy).txt
- filename (4th copy).txt
- etc
This is more obvious than just appending the number, which could also be a conflict or having uploaded the original file again.
Sure! I hope to find time tonight ;)
…On Tue, Oct 2, 2018 at 10:17 AM Jan-Christoph Borchardt < ***@***.***> wrote:
***@***.**** requested changes on this pull request.
@greenido <https://github.com/greenido> nice! Could you adjust the naming
to the spec at #9931 (comment)
<#9931 (comment)> ?
- filename (copy).txt
- filename (another copy).txt
- filename (3rd copy).txt
- filename (4th copy).txt
- etc
This is more obvious than just appending the number, which could also be a
conflict or having uploaded the original file again.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10825 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADwIC1SM02XTolvwzw6gRTVmAWcJ6dKks5ug5_DgaJpZM4WJ9Z1>
.
|
Done.
Please check and let me know. Thank you.
…On Tue, Oct 2, 2018 at 10:42 AM Ido Green ***@***.***> wrote:
Sure! I hope to find time tonight ;)
On Tue, Oct 2, 2018 at 10:17 AM Jan-Christoph Borchardt <
***@***.***> wrote:
> ***@***.**** requested changes on this pull request.
>
> @greenido <https://github.com/greenido> nice! Could you adjust the
> naming to the spec at #9931 (comment)
> <#9931 (comment)>
> ?
>
>
> - filename (copy).txt
> - filename (another copy).txt
> - filename (3rd copy).txt
> - filename (4th copy).txt
> - etc
>
> This is more obvious than just appending the number, which could also be
> a conflict or having uploaded the original file again.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#10825 (review)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AADwIC1SM02XTolvwzw6gRTVmAWcJ6dKks5ug5_DgaJpZM4WJ9Z1>
> .
>
|
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.
Need some small changes!! Did not tested it yet, the code looks good 👍✨
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.
The first copy does not need a number, just Filename (copy).txt
:) Otherwise it seems good. 👍
@jancborchardt @skjnldsv Mind to re-review? |
Let's do this for 16 and look into back porting this maybe later. |
I'll do my best to do it today - Thank you for the heads up.
…On Thu, Nov 15, 2018 at 7:42 AM Morris Jobke ***@***.***> wrote:
@greenido <https://github.com/greenido> As we are planning to release
15.0.0 Beta 2 today: I guess there is very little chance that you could
sign-off the commits, right? It's fairly easy:
Let's do this for 16 and look into back porting this maybe later.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10825 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADwICDxQMf3MdqphIfbi8sgs9-6PmJ2ks5uvYtvgaJpZM4WJ9Z1>
.
|
@greenido No need to hurry on this one. Beta 2 is out 🚀 but we will get it into the next release maybe ;) |
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.
Signed-off-by: Ido Green greenido@gmail.com
@greenido https://github.com/nextcloud/server/runs/32106619 follow the instructions there to fix the sign off |
I got into a small mess due to an update I did to my fork...
So the two git commands aren’t working as expected.
… On Nov 15, 2018, at 09:36, Daniel Kesselberg ***@***.***> wrote:
@greenido https://github.com/nextcloud/server/runs/32106619 follow the instructions there to fix the sign off
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Yes. I'm not sure but |
Just did... thank you for the heads up.
…--
On Nov 15, 2018, at 10:49, Daniel Kesselberg ***@***.***> wrote:
Yes. I'm not sure but greenido/server is missing a lof ot changes form nextcloud/server. I would try to update my fork first (https://help.github.com/articles/syncing-a-fork/) and than try to rebase again.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
This looks like it went wrong 🙈 Sorry for the mess here. I pushed to your branch a new commit as well and this seems to not have relaxed the situation. I guess here a heavy "git rebase --interactive" is needed with "edit" as option instead of "pick" to be able to modify the commit message (adding basically the sign-off message). See https://morrisjobke.de/2015/12/03/How-to-do-a-git-rebase/ for details about a rebase. In your case it's best to checkout master. Do a pull from our master. Then you can do the above mentioned rebase and push again. In case of problems: I have the old version of the branch still locally and we can go for that if something bad happens. |
And this is how the sign-off looks like: It's basically this line inside the commit message:
|
Hey @MorrisJobke I followed the steps you mention but I don't know what to pick in the interactive merge...
Can you fix these two in 'my' local master (or branch)? |
I just used the local commits from my side, rebased them and pushed them. They do not yet contain the sign-off message, but I can walk you through this.
This will open an editor with following content:
The first 4 lines in there are your commits, the fifth one is my commit. So you only need to edit the first 4 lines. Change there the
Force push your commits and you should be done. 👍 |
I followed your steps - but for some reason that DCO still asking me to sign more commits. |
Uuuuhhh ... the git history looks a bit broken. It seems that there were non-fast-forward merges on your master branch and thus git thinks that there needs to be more merged into this one here. Also your commits do not contain the message. :/ I could add the message for you and fix this PR. In the future you could use |
Signed-off-by: Ido Green <greenido@gmail.com> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
More: #10825 (comment) Signed-off-by: Ido Green <greenido@gmail.com>
More details here: #9931 (comment) Signed-off-by: Ido Green <greenido@gmail.com>
Signed-off-by: Ido Green <greenido@gmail.com>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
stable15 is branched off -> merge |
Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22 |
Will do!
Thank you 🙏
…--
On Nov 22, 2018, at 11:37, welcome[bot] ***@***.***> wrote:
Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22
Most developers hang out on IRC. So join #nextcloud-dev on Freenode for a chat!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Fixes #9931