You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| apply_pr | Apply a PR to a remote server |[Apply a Pull Request](https://github.com/gisce/apply_pr/wiki/Apply-a-Pull-Request)|
21
-
| check_pr | Check if the PR's commits are applied on the server |[Check Applied patches](https://github.com/gisce/apply_pr/wiki/Check-Applied-patches)|
22
-
| status_pr | Update the deploy status on GitHub for the PR |[Mark deploy status](https://github.com/gisce/apply_pr/wiki/Mark-deploy-status)|
23
-
| check_prs_status| Check the PRs status (whether they are or not merged and at which milestone)|[Check PRs Status](https://github.com/gisce/apply_pr/wiki/Check-the-PRs-status)|
24
-
| create_changelog| Creates the changelog for all PRs merged in a milestone |[Create Changelog](https://github.com/gisce/apply_pr/wiki/Create-Changelog)|
16
+
The following commands are supported with `sastre`:
|`deploy`| Apply a PR to a remote server |[Deploy a pull request](https://github.com/gisce/apply_pr/wiki/Apply-a-Pull-Request)|
21
+
|`check_prs`| Check the status of the PRs for a set of PRs |[Check pull requests status](https://github.com/gisce/apply_pr/wiki/Check-pull-requests-status)|
22
+
|`status`| Update the status of a deploy into GitHub |[Mark deploy status](https://github.com/gisce/apply_pr/wiki/Mark-deploy-status)|
23
+
|`create_changelog`| Create a chnagelog for the given milestone |[Create Changelog](https://github.com/gisce/apply_pr/wiki/Create-Changelog)|
24
+
|`check_pr`|**Deprecated:** Check if the PR's commits are applied on the server |[Check Applied patches](https://github.com/gisce/apply_pr/wiki/Check-applied-patches-(deprecated))|
26
25
27
26
## Install
28
27
@@ -35,14 +34,14 @@ pip install apply_pr
35
34
36
35
**NOTE**: do not include braces on the following commands
37
36
38
-
### APPLY PR
37
+
### DEPLOY
39
38
40
39
```bash
41
-
Usage: apply_pr [OPTIONS]
40
+
Usage: deploy [OPTIONS]
42
41
43
42
Options:
44
-
--pr TEXT Pull request to apply [required]
45
-
--host TEXT Host to apply [required]
43
+
--pr TEXT Pull request to deploy [required]
44
+
--host TEXT Host to where to be deployed [required]
46
45
--from-number INTEGER From commit number
47
46
--from-commit TEXT From commit hash (included)
48
47
--force-hostname TEXT Force hostname [default: False]
@@ -52,24 +51,10 @@ Options:
52
51
--help Show this message and exit.
53
52
```
54
53
55
-
### CHECK PR
56
-
57
-
```bash
58
-
Usage: check_pr [OPTIONS]
59
-
60
-
Options:
61
-
--pr TEXT Pull request to check [required]
62
-
--host TEXT Host to check [required]
63
-
--owner TEXT GitHub owner name [default: gisce]
64
-
--repository TEXT GitHub repository name [default: erp]
65
-
--src TEXT Remote src path [default: /home/erp/src]
66
-
--help Show this message and exit.
67
-
```
68
-
69
-
### STATUS PR
54
+
### STATUS
70
55
71
56
```bash
72
-
Usage: status_pr [OPTIONS]
57
+
Usage: status [OPTIONS]
73
58
74
59
Options:
75
60
--deploy-id TEXT Deploy id to mark
@@ -80,10 +65,10 @@ Options:
80
65
--help Show this message and exit.
81
66
```
82
67
83
-
### CHECK PRS STATUS
68
+
### CHECK PRS
84
69
85
70
```bash
86
-
Usage: check_prs_status [OPTIONS]
71
+
Usage: check_prs [OPTIONS]
87
72
88
73
Options:
89
74
--prs TEXT List of pull request separated by space (by default)
@@ -108,4 +93,18 @@ Options:
108
93
--owner TEXT GitHub owner name [default: gisce]
109
94
--repository TEXT GitHub repository name [default: erp]
110
95
--help Show this message and exit.
96
+
```
97
+
98
+
### CHECK PR (deprecated)
99
+
100
+
```bash
101
+
Usage: check_pr [OPTIONS]
102
+
103
+
Options:
104
+
--pr TEXT Pull request to check [required]
105
+
--host TEXT Host to check [required]
106
+
--owner TEXT GitHub owner name [default: gisce]
107
+
--repository TEXT GitHub repository name [default: erp]
108
+
--src TEXT Remote src path [default: /home/erp/src]
0 commit comments