Path: csiph.com!weretis.net!feeder6.news.weretis.net!feeder8.news.weretis.net!fu-berlin.de!bofh.it!news.nic.it!robomod From: Julian Gilbey Newsgroups: linux.debian.maint.python Subject: Re: Salsa: Setup tokens Date: Tue, 19 Mar 2024 14:30:02 +0100 Message-ID: References: X-Original-To: Christian Buhtz X-Mailbox-Line: From debian-python-request@lists.debian.org Tue Mar 19 13:21:54 2024 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7.21 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, LDO_WHITELIST=-5, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -4.6 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Mailing-List: archive/latest/21631 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/ZfmRWrsmyMs5jA5C@d-and-j.net Approved: robomod@news.nic.it Lines: 34 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: Joost van =?utf-8?Q?Baal-Ili=C4=87?= , Debian python X-Original-Date: Tue, 19 Mar 2024 13:21:30 +0000 X-Original-Message-ID: X-Original-References: <039c06a78ebf2e00c9b104de38d0e962@posteo.de> Xref: csiph.com linux.debian.maint.python:15626 Hi Christian, On Tue, Mar 19, 2024 at 01:29:55PM +0100, Joost van Baal-Ilić wrote: > Hi Christian, > > Thanks for working on the documentation! > > Op Tue, Mar 19, 2024 at 10:54:43AM +0000 schreef c.buhtz@posteo.jp: > > Hello, > > [...] > > I can answer some of your questions, but not all of them. What I usually do: > > Get a personal access token "somesecret" from the salsa web interface. Then: > > $ touch ~/.salsa-token > $ chmod og-r ~/.salsa-token > $ echo somesecret > ~/.salsa-token > $ SALSA_TOKEN=`cat ~/.salsa-token` > > For some actions, the salsa(1) tool (and/or gitlab on salsa.d.o) seems to need > such a token. An SSH key is not always enough. > > HTH, Bye, > > Joost Might also be worth taking a look at https://wiki.debian.org/Javascript/Tutorial which has a whole discussion about using salsa and tokens. Best wishes, Julian