Skip to content
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

upload is not idempotent #74

Closed
retrogradeorbit opened this issue Jun 3, 2020 · 1 comment
Closed

upload is not idempotent #74

retrogradeorbit opened this issue Jun 3, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@retrogradeorbit
Copy link
Member

crispin@vash:~/dev/epiccastle/spire$ rm -rf test-upload/
crispin@vash:~/dev/epiccastle/spire$ lein trampoline run -- -e '(upload {:dest "test-upload" :src "test" :recurse true :preserve true})'
:1 (upload {:recurse true, :src "test", :preserve true, :dest "test-upload"}) local                               
local test                      |==================================================| 100% 222.11 kB/s eta:0s      
{:attr-result {:result :ok}, :copy-result {:result :changed}, :result :changed}
crispin@vash:~/dev/epiccastle/spire$ ls test-upload/
clojure  config  files  scripts  test
crispin@vash:~/dev/epiccastle/spire$ rm -rf test-upload/
crispin@vash:~/dev/epiccastle/spire$ mkdir test-upload
crispin@vash:~/dev/epiccastle/spire$ lein trampoline run -- -e '(upload {:dest "test-upload" :src "test" :recurse true :preserve true})'
:1 (upload {:recurse true, :src "test", :preserve true, :dest "test-upload"}) local                               
local test                      |==================================================| 100% 263.12 kB/s eta:0s      
local failed! null exit:null
--stdout--
--stderr--
----------
:1 (upload {:recurse true, :src "test", :preserve true, :dest "test-upload"}) local                               
local test                      |==================================================| 100% 263.12 kB/s eta:0s      
Syntax error (ExceptionInfo) compiling at (/tmp/form-init7482844444543822266.clj:1:73).
module failed

Full report at:
/tmp/clojure-646120675444273646.edn
crispin@vash:~/dev/epiccastle/spire$ ls test-upload/
test
crispin@vash:~/dev/epiccastle/spire$ ls test-upload/test/
clojure  config  files  scripts  test

Think this is the underlying cause of #69 and #70

@retrogradeorbit retrogradeorbit added the bug Something isn't working label Jun 3, 2020
retrogradeorbit added a commit that referenced this issue Jun 3, 2020
@retrogradeorbit
Copy link
Member Author

fixed in 0.1.0-alpha.13

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant