Open peterjc opened 8 years ago
The error code is now just 403, but this seems related:
$ planemo --version
planemo, version 0.36.0.dev0
$ planemo shed_update -t testtoolshed packages/package_blast_plus_2_5_0/
cd '/mnt/shared/users/pc40583/repositories/galaxy_blast/packages/package_blast_plus_2_5_0' && git rev-parse HEAD
cd '/mnt/shared/users/pc40583/repositories/galaxy_blast/packages/package_blast_plus_2_5_0' && git diff --quiet
Repository package_blast_plus_2_5_0 updated successfully.
Unexpected HTTP status code: 403: {"err_msg": "You are not the owner of this repository, so you cannot administer it.", "err_code": 403005}
Repository metadata updated successfully for repository package_blast_plus_2_5_0.
Repo updated but metadata was not.
and on the main tool shed, the same:
$ planemo shed_update -t toolshed packages/package_blast_plus_2_5_0/
cd '/mnt/shared/users/pc40583/repositories/galaxy_blast/packages/package_blast_plus_2_5_0' && git rev-parse HEAD
cd '/mnt/shared/users/pc40583/repositories/galaxy_blast/packages/package_blast_plus_2_5_0' && git diff --quiet
Repository package_blast_plus_2_5_0 updated successfully.
Unexpected HTTP status code: 403: {"err_msg": "You are not the owner of this repository, so you cannot administer it.", "err_code": 403005}
Repository metadata updated successfully for repository package_blast_plus_2_5_0.
Repo updated but metadata was not.
Note the conflicting messages claiming the metadata was updated, and then claiming it was not.
Note here I am using Tool Shed credentials for peterjc which have been granted write access to the iuc owned repositories being updated.
Same thing still happening with devteam/ncbi_blast_plus
as peterjc
.
I'd like to switch the repository to using TravisCI stages, which means the "failure" from planemo shed_update
is now visible and (unless masked) treats the build as a failure, e.g. https://travis-ci.org/peterjc/galaxy_blast/builds/233620475
Is this something which can be fixed on the (Test) Tool Shed side? i.e. Do I need to have admin permissions as peterjc
on https://testtoolshed.g2.bx.psu.edu/view/devteam/ncbi_blast_plus and https://testtoolshed.g2.bx.psu.edu/view/devteam/blast_datatypes
We should rework that on the TS side, if you have permissions to make code changes there's no point that you can't update metadata.
Getting this (spurious) message despite successful repository updates:
You are not the owner of this repository, so you cannot administer it.", "err_code": 403005
I am not the owner (IUC is), but I should be able to administer it (as peterjc).
Using planemo dev version from yesterday and the Test Tool Shed
This was running on Mac OS X, with my (peterjc) API token details in
~/.planemo.yml
Confirmed updates:
https://testtoolshed.g2.bx.psu.edu/view/iuc/package_blast_plus_2_2_26/a3d7aa8d5e2c https://testtoolshed.g2.bx.psu.edu/view/iuc/package_blast_plus_2_2_27/eb07c1c0e988 https://testtoolshed.g2.bx.psu.edu/view/iuc/package_blast_plus_2_2_28/629137b8979c https://testtoolshed.g2.bx.psu.edu/view/iuc/package_blast_plus_2_2_29/9cd5cbdf8ff7 https://testtoolshed.g2.bx.psu.edu/view/iuc/package_blast_plus_2_2_30/6b84c917eb9e https://testtoolshed.g2.bx.psu.edu/view/iuc/package_blast_plus_2_2_31/6e4a0aaa3357
Confirmed no changes (previously updated):
https://testtoolshed.g2.bx.psu.edu/view/iuc/package_blast_plus_2_3_0/3986b5d787b5
Confirmed no changes (first version had checksums):
https://testtoolshed.g2.bx.psu.edu/view/iuc/package_blast_plus_2_4_0/86bfd94cdfad
Using planemo dev version from today (after 0.28.0 was released) and the main Tool Shed, again running on Mac OS X, with my (peterjc) API token details in
~/.planemo.yml
Confirmed updates:
https://toolshed.g2.bx.psu.edu/view/iuc/package_blast_plus_2_2_26/869ee5651b61 https://toolshed.g2.bx.psu.edu/view/iuc/package_blast_plus_2_2_27/ec181920469a https://toolshed.g2.bx.psu.edu/view/iuc/package_blast_plus_2_2_28/222036f7cab6 https://toolshed.g2.bx.psu.edu/view/iuc/package_blast_plus_2_2_29/18496de7706f https://toolshed.g2.bx.psu.edu/view/iuc/package_blast_plus_2_2_30/548a170d189f https://toolshed.g2.bx.psu.edu/view/iuc/package_blast_plus_2_2_31/921d2963a177
Confirmed no changes (previously updated):
https://toolshed.g2.bx.psu.edu/view/iuc/package_blast_plus_2_3_0/625c83e59aa1
Confirmed no changes (first version had checksums):
https://toolshed.g2.bx.psu.edu/view/iuc/package_blast_plus_2_4_0/7d1b2564a344