-
-
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
[docs] Enhance container selection in docker dump #14292
Conversation
The problem with the previous query was, that it sometimes selected multiple containers, which make the command file with a hard to understand message.
Codecov Report
@@ Coverage Diff @@
## master #14292 +/- ##
=========================================
Coverage ? 41.84%
=========================================
Files ? 744
Lines ? 79727
Branches ? 0
=========================================
Hits ? 33364
Misses ? 40854
Partials ? 5509 Continue to review full report at Codecov.
|
Co-authored-by: 6543 <[email protected]>
@openscript Any update? |
@lunny I'll check it today and give some feedback :) |
@lunny I can verify that it works without the quotes. This is I usually do my backups:
Maybe this section in the documentation can be enhanced further. When no file name for the dump is specified, a timestamp will be used. So you need to go into the container to find the actual file name. |
Without quotes it is shell dependent. Bash works fine but zsh definitely will not. |
Co-authored-by: delvh <[email protected]>
I think @delvh 's suggestion is pretty good. So, approve and move on? |
* giteaofficial/main: Fix the bug: deploy key with write access can not push (go-gitea#19010) Renamed ctx.User to ctx.Doer. (go-gitea#19161) [docs] Enhance container selection in docker dump (go-gitea#14292) Cleanup protected branches when deleting users & teams (go-gitea#19158) Reorder issue templates and automatically add labels (go-gitea#18875) Use IterateBufferSize whilst querying repositories during adoption check (go-gitea#19140)
* Enhance container selection in docker dump The problem with the previous query was, that it sometimes selected multiple containers, which make the command file with a hard to understand message. Now, use '^...$' to make sure a regex full match.
The problem with the previous query was, that it sometimes selected multiple containers, which make the command respond with a hard to understand error message.
With this regular expression only the container is selected with the exact name.