abra cp enhancements #390
No reviewers
Labels
No Label
bug
build
ci/cd
contributing
design
documentation
duplicate
enhancement
help wanted
invalid
meta
question
security
wontfix
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: coop-cloud/abra#390
Loading…
Reference in New Issue
No description provided.
Delete Branch "p4u1/abra:cp-enhancements"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Working on coop-cloud/organising#534
TODO:
omg amazing @p4u1 😍
Thanks :) I got the local to server side done. It feels a bit hacky, but I think its worth it, since this is a nice usability upgrade.
Next up is the server to local side, but this should be easier, since I can reuse a lot of the code.
I'm also thinking about include and exclude flags, since it is already supported by the docker library.
@ -5,9 +5,11 @@ setup_file(){
_common_setup
_add_server
_new_app
_deploy_app
@decentral1se I changed this test file, so that the app only gets deployed once for this file. This increases the time needed to rune the whole test file by a lot. Is this change ok? Otherwise I can change it back to how it was before.
@3wordchant This is ready for review now :)
WIP: abra cp enhancementsto abra cp enhancementsWill aim to review today, thanks so much @p4u1! 🙏
Solid stuff, some minor comments! Don't have time atm to run the test suite and such but when you're happy with it @p4u1, please do merge it. Thanks for working on this. I've added you to the org team, you have read/write permissions.
@ -91,1 +63,3 @@
}
srcPath, dstPath, service, toContainer, err := parseSrcAndDst(src, dst)
if err != nil {
log.Fatal(err)
logrus.Fatal(err)
@ -150,0 +292,4 @@
ErrDstDirNotExist = fmt.Errorf("destination directory does not exist")
)
func copyMode(srcPath, dstPath string, srcMode os.FileMode, dstMode os.FileMode, dstExists bool) (CopyMode, error) {
Missing docs string?
I added documentation to all copy modes and add a reference in here. See
bd32d20a2b
@ -69,2 +69,4 @@
return containers[0], nil
}
// Retrieves the container for the given stack and service.
a94dc125f4
tobd32d20a2b
@decentral1se Thanks for the review :) I added a new commit with the changes you suggested.
@3wordchant Do you want still want to review this? (Don't worry, if you need a few more days. I'm in no rush to merge this and would prefer a review from you before merging, since you authored the issue)
bd32d20a2b
to45d7e5f1fc
@p4u1 Oh, one other thing: could you change the commit to follow https://www.conventionalcommits.org/en/v1.0.0/ e.g.
feat: abra cp enhancements
because then it is less work to generate the change log when making releases. Thanks!45d7e5f1fc
to296b2e0312
11/10, tested all the scenarios listen in #534 and they all work perfectly, huge congratulations and thanks @p4u1 ! 🎉