add `issues export/import` #132

Open
opened 2 years ago by 6543 · 2 comments
6543 commented 2 years ago
Collaborator

a function witch can create issues from a csv or yaml file witch was created by tea via tea issues -o yaml

so you can backup and restore issues easely

a function witch can create issues from a csv or yaml file witch was created by tea via `tea issues -o yaml` so you can backup and restore issues easely
6543 changed title from acc `issues import` -b a to add `issues import` 2 years ago
6543 added the
kind/feature
label 2 years ago
Collaborator

We can't cover this use case fully at the moment, as the API (afaik) does not provide a way to set the author of an issue.

Also tea issues ls does not output the issue body, we might need a field-selection mechanism like in tea repos ls for that

We can't cover this use case fully at the moment, as the API (afaik) does not provide a way to set the author of an issue. Also `tea issues ls` does not output the issue body, we might need a field-selection mechanism like in `tea repos ls` for that
6543 changed title from add `issues import` to add `issues export/import` 2 years ago
Poster
Collaborator

@noerw agree, I think we at first infent a export, so tea can be used as backup tool for repos hosted on a gitea instance you are not admin at (gitea.com for example).

and for a import you have to be admin on an instance ... then you can use the sudo header to pretend to be user XY ... so I would add two functions: one with sudo and wone who write into body who original was the author ...

@noerw agree, I think we at first infent a `export`, so tea can be used as backup tool for repos hosted on a gitea instance you are not admin at (gitea.com for example). and for a import you have to be admin on an instance ... then you can use the sudo header to pretend to be user XY ... so I would add two functions: one with sudo and wone who write into body who original was the author ...
Sign in to join this conversation.
Loading…
There is no content yet.