Skip to content

Commit 75483cd

Browse files
authored
Release 0.6.1
Merge pull request #111 from samrocketman/development
2 parents dd28d50 + c4044b3 commit 75483cd

File tree

3 files changed

+8
-33
lines changed

3 files changed

+8
-33
lines changed

CHANGELOG.md

Lines changed: 6 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
---
1+
## gitlab-mirrors v0.6.1
2+
3+
* Fixed referencing v3 API. See [PR #110][#110]
4+
5+
[#110]: https://github.com/samrocketman/gitlab-mirrors/pull/110
6+
27
## gitlab-mirrors v0.6.0
38

49
* Consolidate user options and deps inclusion. See [PR #104][#104]
@@ -7,16 +12,13 @@
712
[#100]: https://github.com/samrocketman/gitlab-mirrors/pull/100
813
[#104]: https://github.com/samrocketman/gitlab-mirrors/pull/104
914

10-
11-
---
1215
## gitlab-mirrors v0.5.3
1316

1417
* Bugfix `git-mirrors.sh` while loop executing in a subshell and the value of
1518
`STATUS` being lost. See [PR #92][#92].
1619

1720
[#92]: https://github.com/samrocketman/gitlab-mirrors/pull/92
1821

19-
---
2022
## gitlab-mirrors v0.5.2
2123

2224
* Certified compatibility with GitLab 8.1.4.
@@ -25,14 +27,12 @@
2527
GitLab 8.x. This prevented projects being properly created in GitLab under
2628
the mirror namespace.
2729

28-
---
2930
## gitlab-mirrors v0.5.1
3031

3132
* Certified compatibility with GitLab 7.6.2.
3233
* Documentation updates.
3334
* Add logging to gitlab-mirrors.
3435

35-
---
3636
## gitlab-mirrors v0.5.0
3737

3838
* Support pushing to GitLab via HTTP instead of SSH.
@@ -43,7 +43,6 @@
4343
* More meaningful import error message for gitlab3 python module.
4444
* Minor documentation updates and grammar fixes.
4545

46-
---
4746
## gitlab-mirrors v0.4.9
4847

4948
* Better documentation when viewed from the command line. No longer stretches
@@ -57,41 +56,34 @@
5756
used at all. It would falsely fail all scripts.
5857
* Bugfix where svn is sometimes bare causing the update to fail at rare times.
5958

60-
---
6159
## gitlab-mirrors v0.4.8
6260

6361
* Fix bad prerequisite installation docs.
6462

65-
---
6663
## gitlab-mirrors v0.4.7
6764

6865
* Update installation docs to clarify gitlab-mirrors installation process.
6966

70-
---
7167
## gitlab-mirrors v0.4.6
7268

7369
* Fix bug where all scripts break without a meaningful message if config.sh is
7470
not present.
7571

76-
---
7772
## gitlab-mirrors v0.4.5
7873

7974
* Updated docs for Mercurial mirror management.
8075

81-
---
8276
## gitlab-mirrors v0.4.4
8377

8478
* Added Mercurial mirroring support. `add_mirror.sh` now has the `--hg` option
8579
when adding a repository.
8680

87-
---
8881
## gitlab-mirrors v0.4.3
8982

9083
* Added `no_create_set` option to `config.sh`. This option forces the user to
9184
always provide a remote for pushing repositories via the `--no-create` option
9285
in `add_mirror.sh`.
9386

94-
---
9587
## gitlab-mirrors v0.4.2
9688

9789
* Added `--no-create` option to `add_mirror.sh` which gives the script the
@@ -102,12 +94,10 @@
10294
copy of the mirror and does not attempt communication with GitLab. This is
10395
the delete equivalent of `--no-create`.
10496

105-
---
10697
## gitlab-mirrors v0.4.1
10798

10899
* Added upgrade docs for upgrading v0.3 to v0.4
109100

110-
---
111101
## gitlab-mirrors v0.4.0
112102

113103
* Added contributing guidelines
@@ -118,22 +108,19 @@
118108
instead of pyapi-gitlab (formerly python-gitlab).
119109
* Added `ssl_verify` option to [`config.sh`](config.sh.SAMPLE)
120110

121-
---
122111
## gitlab-mirrors v0.3.1
123112

124113
* Updating prerequisite noting minimum git version 1.5.4. Thanks user
125114
grawity@freenode from `#git`. grawity also mentioned git 1.6.5 for
126115
gitlab-mirrors 0.4.x because that's when transport helpers were introduced.
127116

128-
---
129117
## gitlab-mirrors v0.3.0
130118

131119
* Certified compatibility with GitLab 6.2.
132120
* Upgraded prerequisites to a newer version of `pyapi-gitlab` (formerly
133121
`python-gitlab`).
134122
* Added upgrade documentation.
135123

136-
---
137124
## gitlab-mirrors v0.2.10
138125

139126
* This is a bugfix release in the gitlab-6-0 branch series. From now on all
@@ -144,13 +131,11 @@
144131
* Updating installation docs adding note about `Mirrors` group creation step in
145132
gitlab, thanks @lmakarov.
146133

147-
---
148134
## gitlab-mirrors v0.2.9
149135

150136
* `git-mirrors.sh` major bugfix where working directory was not properly set
151137
before executing mirror updates. This caused the `cron` job to fail.
152138

153-
---
154139
## gitlab-mirrors v0.2.8
155140

156141
* Fixed bug where `manage_gitlab_project.py` would attempt to move a project
@@ -160,12 +145,10 @@
160145
* Added support documentation for running `gitlab-mirrors` from a
161146
non-administrative user.
162147

163-
---
164148
## gitlab-mirrors v0.2.7
165149

166150
* Renamed `CHANGELOG` to `CHANGELOG.md`
167151

168-
---
169152
## gitlab-mirrors v0.2.6
170153

171154
* *New Feature* command `ls-mirrors.sh`!
@@ -178,7 +161,6 @@
178161
* Required an upstream merge request to the `python-gitlab` library.
179162
* Fixed bug added `merge_requests_enabled` to `config.sh.SAMPLE`.
180163

181-
---
182164
## gitlab-mirrors v0.2.5
183165

184166
* Fixed a critical bug with pagination where API user can't view more projects
@@ -188,31 +170,26 @@
188170
* Updated documentation to reference my `bugfix-edition` of `python-gitlab` in
189171
the prerequisites.
190172

191-
---
192173
## gitlab-mirrors v0.2.4
193174

194175
* Fixing critical `git-svn` mirror bug. SVN mirroring did not update properly
195176
prior to this version.
196177

197-
---
198178
## gitlab-mirrors v0.2.3
199179

200180
* Adding a final catch error message to `add_mirror.sh`.
201181
* `RELEASE` file for more consistent releases.
202182

203-
---
204183
## gitlab-mirrors v0.2.2
205184

206185
* Safer environment variable option checking for `config.sh` in `add_mirror.sh`
207186
command.
208187
* Added Features to `README`
209188

210-
---
211189
## gitlab-mirrors v0.2.1
212190

213191
* CHANGELOG update
214192

215-
---
216193
## gitlab-mirrors v0.2
217194

218195
* Renamed project from `git-mirrors` to `gitlab-mirrors`.
@@ -231,12 +208,10 @@
231208
* `manage_gitlab_project.py` has a little better error handling.
232209
* Added `optparse` for better argument handling.
233210

234-
---
235211
## git-mirrors v0.1.1
236212

237213
* Minor update to documentation adding project URL to docs.
238214

239-
---
240215
## git-mirrors v0.1
241216

242217
* Initial project release. Project gives admins the ability to have mirrors of

lib/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION="v0.6.0"
1+
VERSION="v0.6.1"

lib/manage_gitlab_project.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ def needs_transfer(user, groupname, project):
121121
namespace = groupname
122122
else:
123123
namespace = user
124-
if type(project.namespace) == gitlab.v3.objects.Group:
124+
if type(project.namespace) == gitlab.v4.objects.Group:
125125
return project.namespace.name != namespace
126126
else:
127127
return project.namespace['name'] != namespace

0 commit comments

Comments
 (0)