This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-10-16
Channels
- # announcements (5)
- # asami (4)
- # babashka (72)
- # beginners (241)
- # calva (15)
- # cider (2)
- # circleci (5)
- # clara (41)
- # clj-kondo (38)
- # cljsrn (4)
- # clojars (33)
- # clojure (283)
- # clojure-europe (41)
- # clojure-nl (9)
- # clojure-uk (11)
- # clojuredesign-podcast (14)
- # clojurescript (76)
- # conjure (12)
- # cryogen (42)
- # data-science (1)
- # datalog (6)
- # datomic (7)
- # depstar (10)
- # events (2)
- # figwheel-main (1)
- # fulcro (22)
- # funcool (1)
- # london-clojurians (1)
- # malli (8)
- # meander (11)
- # off-topic (12)
- # pathom (19)
- # re-frame (8)
- # reveal (34)
- # shadow-cljs (34)
- # sql (7)
- # vim (8)
- # xtdb (6)
Hi Everyone. I'm asking on behalf of someone who wishes to publish up a jar. A bit of background first, I've volunteered and tidied up this library
. The original person who did it (employee of Sentry) has long left the company. I don't work for Sentry btw. Someone within Sentry is trying to now push up the jar (after requesting help from the Admins at Clojars to reclaim ownership of the repo). This person is now having difficultly uploading the jar (I'm trying to walk them through it). I can upload (via my own username), they can't.
They are getting Failed to transfer file:
THey are using their own username and they are using CLOJARS_
and apparently the token scope is set to *
Is their user a member of the io.sentry group on Clojars? I see brungarc
and sentry
as members: https://clojars.org/groups/io.sentry/
I token with *
should be able to deploy to any group they are a member of. I'll ssh into the server and look at the logs to see if there is any more context there.
The log message is :invalid-token
, which means one of:
• the token itself is incorrect
• the token is for another user
• the token is disabled
See https://github.com/clojars/clojars-web/blob/main/src/clojars/auth.clj#L106-L116
If I query the db for tokens for brungarc
, it returns 0. So that would imply that they are using a token created for another user.
They need to create a token under their own account and use that. Or use the username of the account where the token was created (`sentry`?)
thank you @U06SGCEHJ
Great! Glad y'all figured it out. I do see that there is no link to the source though :( Lein auto-adds that to the pom.xml
- are y'all deploying with some other tool?
Cool. It will require another release to update it on http://clojars.org, just FYI