posit-dev / posit-dev/rsconnect-python
`rsconnect clone <content_id>`
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 37
- Fork
- 28
- Merge medio
- 1g 3h
- PR unite (30g)
- 7
Descrizione
The Connect API supports downloading a content bundle. It would be nice to wrap this in a utility to pull a copy of a content item from Connect so that you could view and modify it, similar to how you can git clone.
I would expect it to download and untar a bundle into a nicely-named directory, and add whatever metadata breadcrumbs are necessary such that I can rsconnect deploy it after making changes and it updates the deployed content rather than creating new content (unless I specify otherwise).
Use cases include the ability for two people to collaborate on content. Specific pain points this solves include what happens when the original content author is no longer around or available to make changes. Others may have collaborator permissions but currently have no way (other than curl) to modify any of the source of the content in order to update or fix it.
(Perhaps a followup to this: I might also want rsconnect pull if I'm the other collaborator and there are changes on Connect that I want to sync locally)
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia dal punto di ingresso della CLI rsconnect clone <content_id> e leggi la documentazione collegata di Connect API relativa a bundle-download. Definisci come viene decompresso e denominato un bundle scaricato e quali metadati sono necessari a rsconnect deploy per aggiornare il contenuto esistente. Il lavoro è completato quando il contenuto clonato può essere modificato localmente e ridistribuito senza creare un nuovo elemento di contenuto, salvo esplicita richiesta.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- api, cli
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100