1
1
# Changelog
2
2
3
3
## Current
4
+
4
5
- _ Add your latest changes from PRs here_
5
6
6
7
### Development
8
+
7
9
- Run pyupgrade formatting (#305 )
8
- - Tests: Move from pytest ` tmp_dir ` (` py.path.local ` ) to ` tmp_path `
9
- (` pathlib.Path ` )
10
+ - Tests: Move from pytest ` tmp_dir ` (` py.path.local ` ) to ` tmp_path ` (` pathlib.Path ` )
10
11
11
12
### Documentation
13
+
12
14
- Move to furo theme
13
15
- Root: ` make start_docs ` , ` make design_docs `
14
16
- docs/: ` make start ` , ` make design `
15
17
16
18
## libvcs 0.11.0, "Phebe" (2022-01-08)
17
19
18
20
### Compatibility
21
+
19
22
- Add python 3.10 (#300 )
20
23
- Drop python 3.6 (#300 )
21
24
22
25
### Development
26
+
23
27
- Poetry: 1.1.7 -> 1.1.12 (#300 )
24
28
- Add ` .pre-commit-config.yaml `
25
29
37
41
38
42
## libvcs 0.9 (2021-06-14)
39
43
40
- Generally speaking, refactor / magic is in the process of being stripped
41
- out in the next few releases. The API is subject to change significantly
42
- in pre-1.0 builds.
44
+ Generally speaking, refactor / magic is in the process of being stripped out in the next few
45
+ releases. The API is subject to change significantly in pre-1.0 builds.
43
46
44
47
[ #271 ] :
45
48
@@ -59,11 +62,11 @@ in pre-1.0 builds.
59
62
- Move sphinx api format to Numpy-style
60
63
61
64
- Move from reStructuredText to Markdown (via recommonmark). The master plan is to eliminate
62
- docutils and sphinx as a bottleneck completely in favor of something else (e.g. gatsby with
63
- a source that inspects our modules and can source intersphinx)
65
+ docutils and sphinx as a bottleneck completely in favor of something else (e.g. gatsby with a
66
+ source that inspects our modules and can source intersphinx)
64
67
65
- - Move from RTD to GitHub Action, full support of poetry extras packages, deploys straight to
66
- S3 and CloudFront
68
+ - Move from RTD to GitHub Action, full support of poetry extras packages, deploys straight to S3
69
+ and CloudFront
67
70
68
71
- [ #270 ] Build and publish packages via poetry
69
72
- [ #270 ] Overhaul development docs
@@ -81,16 +84,13 @@ in pre-1.0 builds.
81
84
82
85
## libvcs 0.4.3 (2020-08-01)
83
86
84
- - \[ bug\] ` libvcs.git.extract_status() ` Fix issue capturing branch
85
- names with special characters
87
+ - \[ bug\] ` libvcs.git.extract_status() ` Fix issue capturing branch names with special characters
86
88
87
89
## libvcs 0.4.2 (2020-08-01)
88
90
89
- - \[ bug\] ` libvcs.git.GitRepo.get_current_remote_name() ` Handle case
90
- where upstream is unpushed
91
+ - \[ bug\] ` libvcs.git.GitRepo.get_current_remote_name() ` Handle case where upstream is unpushed
91
92
- \[ feature\] ` libvcs.git.GitRepo.status() ` - Retrieve status of repo
92
- - \[ feature\] ` libvcs.git.extract_status() ` - Return structured info
93
- from ` git status `
93
+ - \[ feature\] ` libvcs.git.extract_status() ` - Return structured info from ` git status `
94
94
95
95
## libvcs 0.4.1 (2020-08-01)
96
96
@@ -100,45 +100,37 @@ in pre-1.0 builds.
100
100
101
101
** Breaking changes**
102
102
103
- Internal functionality relating to remotes have been reorganized to
104
- avoid implicit behavior.
103
+ Internal functionality relating to remotes have been reorganized to avoid implicit behavior.
105
104
106
- - ` ~libvcs.git.GitRepo ` methods have been renamed, they will be
107
- deprecated in 0.5:
105
+ - ` ~libvcs.git.GitRepo ` methods have been renamed, they will be deprecated in 0.5:
108
106
109
107
- ` GitRepo.remotes_get ` renamed to ` libvcs.git.GitRepo.remotes() `
110
108
- ` GitRepo.remote_get ` renamed to ` libvcs.git.GitRepo.remote() `
111
- - ` GitRepo.remote_set ` renamed to
112
- ` libvcs.git.GitRepo.set_remote() `
109
+ - ` GitRepo.remote_set ` renamed to ` libvcs.git.GitRepo.set_remote() `
113
110
114
- - ` ~libvcs.git.GitRepo ` the ` remotes ` argument is deprecated and no
115
- longer used. Use ` libvcs.git.GitRepo.set_remote ` after repo is
116
- instantiated.
111
+ - ` ~libvcs.git.GitRepo ` the ` remotes ` argument is deprecated and no longer used. Use
112
+ ` libvcs.git.GitRepo.set_remote ` after repo is instantiated.
117
113
118
- - ` libvcs.git.GitRepo.obtain ` no longer set remotes based on a ` dict `
119
- passed to ` ~libvcs.git.GitRepo ` . This was deemed to specialized /
120
- implicit.
114
+ - ` libvcs.git.GitRepo.obtain ` no longer set remotes based on a ` dict ` passed to
115
+ ` ~libvcs.git.GitRepo ` . This was deemed to specialized / implicit.
121
116
122
117
- ` libvcs.git.GitRepo.set_remote() ` (formerly ` remote_set ` )
123
118
124
- The new method accepts ` name ` and ` url ` (in that order). ` name ` no
125
- longer has a default value (was ` origin ` ).
119
+ The new method accepts ` name ` and ` url ` (in that order). ` name ` no longer has a default value (was
120
+ ` origin ` ).
126
121
127
122
- ` libvcs.git.GitRepo.remote() ` (formerly ` remote_get ` ):
128
123
129
124
- ` remote ` argument renamed to ` name ` . It will be removed in 0.5.0
130
125
131
126
The default value of ` 'origin' ` has been removed
132
127
133
- - Now returns ` ~libvcs.git.GitRemote ` (a
134
- : py ` collections.namedtuple ` object)
128
+ - Now returns ` ~libvcs.git.GitRemote ` (a : py ` collections.namedtuple ` object)
135
129
136
- The tuple is similar to the old output, except there is an
137
- additional value at the beginning, the name of the remote, e.g.
138
- ` ('origin', '<fetch_url>', '<push_url>') `
130
+ The tuple is similar to the old output, except there is an additional value at the beginning,
131
+ the name of the remote, e.g. ` ('origin', '<fetch_url>', '<push_url>') `
139
132
140
- - ` libvcs.git.GitRepo.remotes() ` (formerly ` remotes_get ` ) are now
141
- methods instead of properties.
133
+ - ` libvcs.git.GitRepo.remotes() ` (formerly ` remotes_get ` ) are now methods instead of properties.
142
134
143
135
Passing ` flat=True ` to return a ` dict ` of ` tuple ` instead of ` dict `
144
136
@@ -155,8 +147,7 @@ avoid implicit behavior.
155
147
156
148
- ` 258 ` ` libvcs.git.GitRepo.remote_set `
157
149
- Fix updating of remote URLs
158
- - Add new param: ` overwrite ` , usage:
159
- ` repo.remote_set(url, 'origin', overwrite=True) `
150
+ - Add new param: ` overwrite ` , usage: ` repo.remote_set(url, 'origin', overwrite=True) `
160
151
161
152
## libvcs 0.3.1post1 (2020-07-26)
162
153
@@ -168,8 +159,7 @@ avoid implicit behavior.
168
159
- Fix issue with subprocess.Popen loud warning on Python 3.8
169
160
- [ #296 ] - Move from Pipfile to poetry
170
161
- Sort imports
171
- - Add isort package, isort configuration in setup.cfg, and
172
- ` make isort ` task to Makefile.
162
+ - Add isort package, isort configuration in setup.cfg, and ` make isort ` task to Makefile.
173
163
- Add ` project_urls ` to setup.py
174
164
175
165
[ #296 ] https://github.com/vcs-python/libvcs/pull/296
@@ -199,16 +189,14 @@ avoid implicit behavior.
199
189
200
190
## libvcs 0.2.1 (2016-09-13)
201
191
202
- - Update pytest to 3.0.2, remove unused pytest-raisesregexp
203
- dependency.
204
- - Fix bug in ` which ` when executable is not found. Allow specifying
205
- search paths manually.
192
+ - Update pytest to 3.0.2, remove unused pytest-raisesregexp dependency.
193
+ - Fix bug in ` which ` when executable is not found. Allow specifying search paths manually.
206
194
- Better support for missing VCS when testing on git and subversion.
207
195
208
196
## libvcs 0.2.0 (2016-06-24)
209
197
210
- - [ #9 ] Support for ` progress_callback ` to use realtime output from
211
- commands in progress (such as ` git fetch ` ).
198
+ - [ #9 ] Support for ` progress_callback ` to use realtime output from commands in progress (such as
199
+ ` git fetch ` ).
212
200
- [ #9 ] More tests, internal factoring and documentation, thanks @jcfr
213
201
- [ #9 ] Official support for pypy, pypy3
214
202
- [ #11 ] : Fix unbound local when updating git repos
@@ -227,8 +215,8 @@ avoid implicit behavior.
227
215
228
216
- ` 6 ` Remove log module. Logging defaults.
229
217
230
- The library user can still use formatters and set log levels, for an
231
- example, see the vcspull logging setup.
218
+ The library user can still use formatters and set log levels, for an example, see the vcspull
219
+ logging setup.
232
220
233
221
An example:
234
222
@@ -244,8 +232,7 @@ avoid implicit behavior.
244
232
vcslogger.addHandler(logging.StreamHandler())
245
233
vcslogger.setLevel(level)
246
234
247
- You can also use ` logging.Formatter ` variables ` repo_name ` and
248
- ` repo_vcs ` with repos:
235
+ You can also use ` logging.Formatter ` variables ` repo_name ` and ` repo_vcs ` with repos:
249
236
250
237
repo_channel = logging.StreamHandler()
251
238
repo_formatter = logging.Formatter(
@@ -272,8 +259,7 @@ avoid implicit behavior.
272
259
273
260
## libvcs 0.1.2 (2016-06-20)
274
261
275
- - change signature on ` create_repo_from_pip_url ` to accept ` pip_url `
276
- insetad of ` url ` .
262
+ - change signature on ` create_repo_from_pip_url ` to accept ` pip_url ` insetad of ` url ` .
277
263
- ` Base ` to accept ` repo_dir ` instead of ` name ` and ` parent_dir ` .
278
264
279
265
## libvcs 0.1.1 (2016-06-20)
0 commit comments