Skip to content

Commit

Permalink
Document the newly added functionality
Browse files Browse the repository at this point in the history
Signed-off-by: Akashdeep Dhar <[email protected]>
  • Loading branch information
gridhead committed Nov 21, 2023
1 parent a3bc656 commit f8d24d6
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,7 @@ Simple exporter tool that helps migrate repository files, data assets and issue
-c, --comments Transfer all the associated comments
-l, --labels Migrate all the associated labels
-a, --commit Assert issue ticket states as they were
-t, --secret Confirm issue ticket privacy as they were
--help Show this message and exit.
```
Expand Down Expand Up @@ -408,7 +409,17 @@ Simple exporter tool that helps migrate repository files, data assets and issue
--commit
```
5. If the issue tickets from a range of issue identities need to be transferred.
5. If the privacy associated with the issue tickets need to be transferred.
```
(venv) $ pagure-exporter \
--fusr srceuser --pkey srcecode --srce srcerepo \
--tusr destuser --gkey destcode --dest destrepo \
tkts \
--secret
```
6. If the issue tickets from a range of issue identities need to be transferred.
```
(venv) $ pagure-exporter \
Expand All @@ -420,7 +431,7 @@ Simple exporter tool that helps migrate repository files, data assets and issue
Issue tickets with identities `STRT`, `STRT+1` ... `STOP-1`, `STOP` would be considered here.
6. If the issue tickets that need to be considered need to be cherry-picked.
7. If the issue tickets that need to be considered need to be cherry-picked.
```
(venv) $ pagure-exporter \
Expand All @@ -434,9 +445,9 @@ Simple exporter tool that helps migrate repository files, data assets and issue
While these options can be mixed and matched to be used together, the options `--ranges` and `--select` cannot be used at the same time as they perform identical functions.
For example
For example,
1. The following command will migrate all issue tickets, the identities of which fall between the range of `STRT` and `STOP` both included, with status `OPEN` along with the associated comments and labels.
1. The following command will migrate all issue tickets, the identities of which fall between the range of `STRT` and `STOP` both included, with status `OPEN` along with the associated comments, labels and privacy.
```
(venv) $ pagure-exporter \
Expand All @@ -446,10 +457,11 @@ Simple exporter tool that helps migrate repository files, data assets and issue
--status open \
--comments \
--labels \
--secret \
--ranges STRT STOP
```
2. The following command will migrate all issue tickets with the identities `NUM1`, `NUM2`, `NUM3` ... with status `SHUT` along with the associated labels and states.
2. The following command will migrate all issue tickets with the identities `NUM1`, `NUM2`, `NUM3` ... with status `SHUT` along with the associated labels, states and privacy.
```
(venv) $ pagure-exporter \
Expand All @@ -459,5 +471,6 @@ Simple exporter tool that helps migrate repository files, data assets and issue
--status shut \
--labels \
--commit \
--secret \
--select NUM1,NUM2,NUM3 ...
```

0 comments on commit f8d24d6

Please sign in to comment.