planemo icon indicating copy to clipboard operation
planemo copied to clipboard

shed_update seems to ignore shed_username in .planemo.yml

Open eschen42 opened this issue 2 years ago • 2 comments

I am able to run planemo shed_create fine without the --owner parameter when shed_username is specified in .planemo.yml, but when I run planemo shed_update I must supply the --owner parameter or else I get:

Repository [my_nifty_tool] does not exist in the targeted Tool Shed.
Failed to update repository 'my_nifty_tool' as it does not exist on the custom tool shed at localshed.
  • where I tried this: on my local toolshed (I observed this issue with the testtoolshed but didn't try specifying --owner to see whether it worked)
  • planemo, version 0.74.7

eschen42 avatar Mar 07 '22 18:03 eschen42

I guess that I'm not sure that the real issue is not that owner was inferred from shed_username for shed_create. However, I think that the two should be consistent with one another.

eschen42 avatar Mar 07 '22 19:03 eschen42

I think you'll probably always want to create a .shed.yml file, that's what all of the tool repos use. shed_username looks like it was meant to be a default owner, but I think that just detracts from the tried and true thing the community is using, and it's also not that useful since you'll have to provide the name flag anyway ? Maybe we can drop this from the config file ?

mvdbeek avatar Apr 05 '23 10:04 mvdbeek