##// END OF EJS Templates
History entry, compatibility decl.
Marcin Kasperski -
r278:4f3e41de default
parent child Browse files
Show More
@@ -1,338 +1,348 b''
1
2 1.3.0
3 ~~~~~~~~~~~~
4
5 #33 Python3-based Mercurial installs are supported and should work -
6 including sharing passwords with Python2 installations.
7
8 Note: remember about installing proper keyring backend dependencies
9 under py3 (like python-dbus). Those aren't shared!
10
1
11
2 1.2.1
12 1.2.1
3 ~~~~~~~~~~~~
13 ~~~~~~~~~~~~
4
14
5 Tested against hg 4.8 (no changes needed).
15 Tested against hg 4.8 (no changes needed).
6
16
7 1.2.0
17 1.2.0
8 ~~~~~~~~~~~~
18 ~~~~~~~~~~~~
9
19
10 #62 Compatible with Mercurial 4.7 (some fixes were needed to avoid
20 #62 Compatible with Mercurial 4.7 (some fixes were needed to avoid
11 crashes while working in this version). Most important fixes were made
21 crashes while working in this version). Most important fixes were made
12 in meu (so here we just depend on proper version), but there are also
22 in meu (so here we just depend on proper version), but there are also
13 individual fixes here (related to smtp handling).
23 individual fixes here (related to smtp handling).
14
24
15 #61 In case keyring library raises exceptions (like recent versions do
25 #61 In case keyring library raises exceptions (like recent versions do
16 when no backend is available), we don't crash mercurial anymore.
26 when no backend is available), we don't crash mercurial anymore.
17 mercurial_keyring emits the warning and falls back to normal password
27 mercurial_keyring emits the warning and falls back to normal password
18 handling (propts).
28 handling (propts).
19
29
20 Refreshing smtp monkeypatch to be a bit more like modern mercurials
30 Refreshing smtp monkeypatch to be a bit more like modern mercurials
21 (in particular, obligatory cert falidaton).
31 (in particular, obligatory cert falidaton).
22
32
23 1.1.9
33 1.1.9
24 ~~~~~~~~~~~~
34 ~~~~~~~~~~~~
25
35
26 4.6-compatibility, 4.5-testing.
36 4.6-compatibility, 4.5-testing.
27
37
28 1.1.8
38 1.1.8
29 ~~~~~~~~~~~~~
39 ~~~~~~~~~~~~~
30
40
31 Updated links after bitbucket changes.
41 Updated links after bitbucket changes.
32
42
33 1.1.7
43 1.1.7
34 ~~~~~~~~~~~~~~~~~~
44 ~~~~~~~~~~~~~~~~~~
35
45
36 #52 hg keyring_check and hg keyring_clear did not work since
46 #52 hg keyring_check and hg keyring_clear did not work since
37 Mercurial 3.9 (incompatibility caused by commit 2c019aac6b99,
47 Mercurial 3.9 (incompatibility caused by commit 2c019aac6b99,
38 introducing passwdb).
48 introducing passwdb).
39
49
40 1.1.6
50 1.1.6
41 ~~~~~~~~~~~~~~~~~~
51 ~~~~~~~~~~~~~~~~~~
42
52
43 Fixed NameError showing up in some password saving scenarios, in
53 Fixed NameError showing up in some password saving scenarios, in
44 particular in case of password save failures (thanks to Andrew
54 particular in case of password save failures (thanks to Andrew
45 Taumoefolau for reporting and fixing).
55 Taumoefolau for reporting and fixing).
46
56
47 1.1.5
57 1.1.5
48 ~~~~~~~~~~~~~~~~~~
58 ~~~~~~~~~~~~~~~~~~
49
59
50 Mercurial 3.9 compatibility.
60 Mercurial 3.9 compatibility.
51
61
52 1.1.4
62 1.1.4
53 ~~~~~~~~~~~~~~~~~~
63 ~~~~~~~~~~~~~~~~~~
54
64
55 Gracefully handle failures to save passwords - they are reported
65 Gracefully handle failures to save passwords - they are reported
56 as warnings, but don't break the operation being executed.
66 as warnings, but don't break the operation being executed.
57
67
58 Compatibility fixes for upcoming 3.9 release (which changes SSL API
68 Compatibility fixes for upcoming 3.9 release (which changes SSL API
59 noticeably, what impact SMTP passwords handling in mercurial_keyring).
69 noticeably, what impact SMTP passwords handling in mercurial_keyring).
60
70
61 1.1.3
71 1.1.3
62 ~~~~~~~~~~~~~~~~~~
72 ~~~~~~~~~~~~~~~~~~
63
73
64 Mercurial 3.8 compatibility for email over SSL/TLS (SMTPS/STARTTLS
74 Mercurial 3.8 compatibility for email over SSL/TLS (SMTPS/STARTTLS
65 constructors changed). Should not spoil older versions.
75 constructors changed). Should not spoil older versions.
66
76
67 1.1.2
77 1.1.2
68 ~~~~~~~~~~~~~~~~~~
78 ~~~~~~~~~~~~~~~~~~
69
79
70 The keyring_check and keyring_clear commands can be run outside
80 The keyring_check and keyring_clear commands can be run outside
71 repository (if given some path as parameter).
81 repository (if given some path as parameter).
72
82
73 Fixed some messages.
83 Fixed some messages.
74
84
75 README updates (a few language fixes, added note about GUI tools).
85 README updates (a few language fixes, added note about GUI tools).
76
86
77 1.1.1
87 1.1.1
78 ~~~~~~~~~~~~~~~~~~
88 ~~~~~~~~~~~~~~~~~~
79
89
80 #49 Fixed the bug due to url-stored usernames did not work (introduced
90 #49 Fixed the bug due to url-stored usernames did not work (introduced
81 in 1.0.0 and not completely fixed in 1.0.1).
91 in 1.0.0 and not completely fixed in 1.0.1).
82
92
83 #50 Bad doc url in error message
93 #50 Bad doc url in error message
84
94
85
95
86 1.1.0
96 1.1.0
87 ~~~~~~~~~~~~~~~~~~
97 ~~~~~~~~~~~~~~~~~~
88
98
89 Forward compatibility for Mercurial 3.8 (should not break old mercurials)
99 Forward compatibility for Mercurial 3.8 (should not break old mercurials)
90
100
91 1.0.1
101 1.0.1
92 ~~~~~~~~~~~~~~~~~~
102 ~~~~~~~~~~~~~~~~~~
93
103
94 URLs containing usernames (https://John@some.service/somewhat) were
104 URLs containing usernames (https://John@some.service/somewhat) were
95 not working unless username was also configured separately (username
105 not working unless username was also configured separately (username
96 presence in url was not detected properly).
106 presence in url was not detected properly).
97
107
98 Liberated prefix matching, path https://John@some.service/somewhat can
108 Liberated prefix matching, path https://John@some.service/somewhat can
99 be matched both against prefix https://some.service and against
109 be matched both against prefix https://some.service and against
100 https://John@some.service. That mostly matches what mercurial itself
110 https://John@some.service. That mostly matches what mercurial itself
101 does.
111 does.
102
112
103 1.0.0
113 1.0.0
104 ~~~~~~~~~~~~~~~~~~
114 ~~~~~~~~~~~~~~~~~~
105
115
106 Added
116 Added
107 hg keyring_check
117 hg keyring_check
108 and
118 and
109 hg keyring_clear PATH-OR-ALIAS
119 hg keyring_clear PATH-OR-ALIAS
110 commands
120 commands
111
121
112 Removed obsolete workarounds (compatibility for very old Mercurials -
122 Removed obsolete workarounds (compatibility for very old Mercurials -
113 some for pre-1.0, some for 1.4, some for 1.8/1.9).
123 some for pre-1.0, some for 1.4, some for 1.8/1.9).
114 Mercurial 2.0 is now required.
124 Mercurial 2.0 is now required.
115
125
116 Improved information about path prefix. In particular it is shown
126 Improved information about path prefix. In particular it is shown
117 whenever user is asked for password, for example:
127 whenever user is asked for password, for example:
118 hg pull bitbucket
128 hg pull bitbucket
119 http authorization required
129 http authorization required
120 realm: BitBucket
130 realm: BitBucket
121 url: https://bitbucket.org/Mekk
131 url: https://bitbucket.org/Mekk
122 user: Mekk (fixed in hgrc or url)
132 user: Mekk (fixed in hgrc or url)
123 password:
133 password:
124
134
125 Improved README.
135 Improved README.
126
136
127 Improved debug information.
137 Improved debug information.
128
138
129 0.8.0
139 0.8.0
130 ~~~~~~~~~~~~~~~~~~
140 ~~~~~~~~~~~~~~~~~~
131
141
132 Module is simplified a bit, but requires mercurial_extension_utils.
142 Module is simplified a bit, but requires mercurial_extension_utils.
133 Debug messages are prefixed with keyring: not [HgKeyring]
143 Debug messages are prefixed with keyring: not [HgKeyring]
134
144
135 0.7.1
145 0.7.1
136 ~~~~~~~~~~~~~~~~~~
146 ~~~~~~~~~~~~~~~~~~
137
147
138 #48 NullHandler import failure no longer breaks the extension.
148 #48 NullHandler import failure no longer breaks the extension.
139 May help python 2.6 compatibility.
149 May help python 2.6 compatibility.
140
150
141 0.7.0
151 0.7.0
142 ~~~~~~~~~~~~~~~~~~~
152 ~~~~~~~~~~~~~~~~~~~
143
153
144 Delaying keyring module import until passwords are really needed. It
154 Delaying keyring module import until passwords are really needed. It
145 can noticeably improve Mercurial (non pull/push) performance in some
155 can noticeably improve Mercurial (non pull/push) performance in some
146 cases (no longer slow hg status because D-Bus is busy an keyring tries
156 cases (no longer slow hg status because D-Bus is busy an keyring tries
147 to activate KDE Wallet through it…).
157 to activate KDE Wallet through it…).
148
158
149 0.6.7
159 0.6.7
150 ~~~~~~~~~~~~~~~~~
160 ~~~~~~~~~~~~~~~~~
151
161
152 #46 Fixed syntax of smtp.tls configuration setting (current Mercurials
162 #46 Fixed syntax of smtp.tls configuration setting (current Mercurials
153 doesn't handle "true" anymore, TortoiseHG crashed with mercurial
163 doesn't handle "true" anymore, TortoiseHG crashed with mercurial
154 keyring enabled while currently recommended starttls/smtps/none values
164 keyring enabled while currently recommended starttls/smtps/none values
155 were in use).
165 were in use).
156
166
157 0.6.6
167 0.6.6
158 ~~~~~~~~~~~~~~~~~
168 ~~~~~~~~~~~~~~~~~
159
169
160 #44 Handling some more mercurial versions in demandimport-detection
170 #44 Handling some more mercurial versions in demandimport-detection
161 logic.
171 logic.
162
172
163 0.6.5
173 0.6.5
164 ~~~~~~~~~~~~~~~~~
174 ~~~~~~~~~~~~~~~~~
165
175
166 #36 Shutting up warning about no logging handlers.
176 #36 Shutting up warning about no logging handlers.
167
177
168 0.6.4
178 0.6.4
169 ~~~~~~~~~~~~~~~~~
179 ~~~~~~~~~~~~~~~~~
170
180
171 #44 Pre-2.9.1 Mercurials compatibility (probing for active
181 #44 Pre-2.9.1 Mercurials compatibility (probing for active
172 demandimport differently).
182 demandimport differently).
173
183
174 0.6.3
184 0.6.3
175 ~~~~~~~~~~~~~~~~~
185 ~~~~~~~~~~~~~~~~~
176
186
177 #41 Fix for incorrect demandimport activity check logic, which could
187 #41 Fix for incorrect demandimport activity check logic, which could
178 cause various problems with imports after mercurial_keyring is
188 cause various problems with imports after mercurial_keyring is
179 imported.
189 imported.
180
190
181 0.6.2
191 0.6.2
182 ~~~~~~~~~~~~~~~~~
192 ~~~~~~~~~~~~~~~~~
183
193
184 #33 Fix for UnicodeDecodeErrors happening on some backends (especially
194 #33 Fix for UnicodeDecodeErrors happening on some backends (especially
185 Vault) when passwords with non-ascii characters are in use and native
195 Vault) when passwords with non-ascii characters are in use and native
186 locale is not utf-8. Passwords are no longer saved to keyring backends
196 locale is not utf-8. Passwords are no longer saved to keyring backends
187 as-entered, they are now decoded from local encoding (whichever is
197 as-entered, they are now decoded from local encoding (whichever is
188 detected by Mercurial), then encoded to unicode.
198 detected by Mercurial), then encoded to unicode.
189
199
190 0.6.1
200 0.6.1
191 ~~~~~~~~~~~~~~~~~
201 ~~~~~~~~~~~~~~~~~
192
202
193 #30 Yet another demandimport conflict fixed.
203 #30 Yet another demandimport conflict fixed.
194
204
195 0.6.0
205 0.6.0
196 ~~~~~~~~~~~~~~~~~
206 ~~~~~~~~~~~~~~~~~
197
207
198 #28 Disable demandimport completely during keyring import. Mayhaps it
208 #28 Disable demandimport completely during keyring import. Mayhaps it
199 will resolve (most) demandimport conflict errors.
209 will resolve (most) demandimport conflict errors.
200
210
201 0.5.7
211 0.5.7
202 ~~~~~~~~~~~~~~~~~
212 ~~~~~~~~~~~~~~~~~
203
213
204 #27 Some more demandimport ignores.
214 #27 Some more demandimport ignores.
205
215
206 0.5.6
216 0.5.6
207 ~~~~~~~~~~~~~~~~~
217 ~~~~~~~~~~~~~~~~~
208
218
209 #24, #25 Demandimport fixes (import failures in specific cases).
219 #24, #25 Demandimport fixes (import failures in specific cases).
210
220
211 Better way of demandimport-ignoring modules. In particular, we append
221 Better way of demandimport-ignoring modules. In particular, we append
212 more of them if gobject happens to be on the list.
222 more of them if gobject happens to be on the list.
213
223
214 0.5.5
224 0.5.5
215 ~~~~~~~~~~~~~~~~~
225 ~~~~~~~~~~~~~~~~~
216
226
217 Fix for gnome keyring import problems.
227 Fix for gnome keyring import problems.
218
228
219 0.5.4
229 0.5.4
220 ~~~~~~~~~~~~~~~~~
230 ~~~~~~~~~~~~~~~~~
221
231
222 #22 Some more demandimport ignores (fix import failures).
232 #22 Some more demandimport ignores (fix import failures).
223
233
224 SMTP password was not cleared properly (after detecting that it is
234 SMTP password was not cleared properly (after detecting that it is
225 invalid).
235 invalid).
226
236
227 Clarified license to be modified BSD style license.
237 Clarified license to be modified BSD style license.
228
238
229 0.5.3
239 0.5.3
230 ~~~~~~~~~~~~~~~~~
240 ~~~~~~~~~~~~~~~~~
231
241
232 Remove useless import which caused problems on Mercurial 2.3 when
242 Remove useless import which caused problems on Mercurial 2.3 when
233 demandimport was not enabled
243 demandimport was not enabled
234
244
235 0.5.1
245 0.5.1
236 ~~~~~~~~~~~~~~~~~
246 ~~~~~~~~~~~~~~~~~
237
247
238 Add help text to output for hg help.
248 Add help text to output for hg help.
239
249
240 0.5.0
250 0.5.0
241 ~~~~~~~~~~~~~~~~~
251 ~~~~~~~~~~~~~~~~~
242
252
243 Improved bad password detection. Internally: extension is now able to
253 Improved bad password detection. Internally: extension is now able to
244 properly differentiate between an authentication failure and a new
254 properly differentiate between an authentication failure and a new
245 request to the same url.
255 request to the same url.
246
256
247 Fixes in debug message
257 Fixes in debug message
248
258
249 Further debug messages patching
259 Further debug messages patching
250
260
251 Improving debug messages handling.
261 Improving debug messages handling.
252
262
253 Mercurial Keyring debug messages are now prefixed with
263 Mercurial Keyring debug messages are now prefixed with
254 [HgKeyring] to make distinguishing them easier
264 [HgKeyring] to make distinguishing them easier
255
265
256 0.4.6
266 0.4.6
257 ~~~~~~~~~~~~~~~~~
267 ~~~~~~~~~~~~~~~~~
258
268
259 More compatibility (changed signature of httpconnection.readauthforuri
269 More compatibility (changed signature of httpconnection.readauthforuri
260 , introduced post Mercurial 1.9 - since hg.0593e8f81c71)
270 , introduced post Mercurial 1.9 - since hg.0593e8f81c71)
261
271
262 Fix compatibility code which did not work due to demandimport issues
272 Fix compatibility code which did not work due to demandimport issues
263 (attempts to catch ImportErrors on "from mercurial.url import
273 (attempts to catch ImportErrors on "from mercurial.url import
264 readauthforuri" were not working properly).
274 readauthforuri" were not working properly).
265
275
266 0.4.5
276 0.4.5
267 ~~~~~~~~~~~~~~~~~
277 ~~~~~~~~~~~~~~~~~
268
278
269 Mercurial 1.9 compatibility (readauthforuri has been moved into new
279 Mercurial 1.9 compatibility (readauthforuri has been moved into new
270 httpconnection module).
280 httpconnection module).
271
281
272 0.4.4
282 0.4.4
273 ~~~~~~~~~~~~~~~~~
283 ~~~~~~~~~~~~~~~~~
274
284
275 Mercurial 1.8 compatibility (passwordmgr.readauthtoken() has been
285 Mercurial 1.8 compatibility (passwordmgr.readauthtoken() has been
276 moved into mercurial.url.readauthforuri).
286 moved into mercurial.url.readauthforuri).
277
287
278 0.4.3
288 0.4.3
279 ~~~~~~~~~~~~~~~~~
289 ~~~~~~~~~~~~~~~~~
280
290
281 Keyring fork no longer is needed as keyring releases are available
291 Keyring fork no longer is needed as keyring releases are available
282 again.
292 again.
283
293
284 Workaround for gnomekeyring mercurial.demandimport incompatibility:
294 Workaround for gnomekeyring mercurial.demandimport incompatibility:
285 mercurial.demandimport, which is enabled while in a mercurial
295 mercurial.demandimport, which is enabled while in a mercurial
286 extensions, prevents the correct import of gobject._gobject and
296 extensions, prevents the correct import of gobject._gobject and
287 consequently doesn't allow the loading of the gnomekeyring module,
297 consequently doesn't allow the loading of the gnomekeyring module,
288 which can be used by keyring. This just adds the proper module to
298 which can be used by keyring. This just adds the proper module to
289 demandimport ignore list.
299 demandimport ignore list.
290
300
291 0.4.2
301 0.4.2
292 ~~~~~~~~~~~~~~~~~
302 ~~~~~~~~~~~~~~~~~
293
303
294 No longer raising an error when username is specified both in ~/.hgrc
304 No longer raising an error when username is specified both in ~/.hgrc
295 and <repo>/.hg/hgrc if it is the same in both places.
305 and <repo>/.hg/hgrc if it is the same in both places.
296
306
297 Docs recommend sborho keyring fork.
307 Docs recommend sborho keyring fork.
298
308
299 0.4.1
309 0.4.1
300 ~~~~~~~~~~~~~~~~~
310 ~~~~~~~~~~~~~~~~~
301
311
302 Some tweaks and docs related to prefix handling.
312 Some tweaks and docs related to prefix handling.
303
313
304 Explicit information that keyring is not used due to lack of username.
314 Explicit information that keyring is not used due to lack of username.
305
315
306 0.4.0
316 0.4.0
307 ~~~~~~~~~~~~~~~~~
317 ~~~~~~~~~~~~~~~~~
308
318
309 Store and lookup prefix from [auth] so that password is shared amongst
319 Store and lookup prefix from [auth] so that password is shared amongst
310 shared auth entries
320 shared auth entries
311
321
312 0.3.3
322 0.3.3
313 ~~~~~~~~~~~~~~~~~
323 ~~~~~~~~~~~~~~~~~
314
324
315 Better error message
325 Better error message
316
326
317 0.3.2
327 0.3.2
318 ~~~~~~~~~~~~~~~~~
328 ~~~~~~~~~~~~~~~~~
319
329
320 Doc tweaks
330 Doc tweaks
321
331
322 0.3.1
332 0.3.1
323 ~~~~~~~~~~~~~~~~~
333 ~~~~~~~~~~~~~~~~~
324
334
325 Introduced and documented PyPi package, added setup.py
335 Introduced and documented PyPi package, added setup.py
326
336
327 0.2.0
337 0.2.0
328 ~~~~~~~~~~~~~~~~~
338 ~~~~~~~~~~~~~~~~~
329
339
330 Added handling of SMTP passwords (tested on patchbomb extension but
340 Added handling of SMTP passwords (tested on patchbomb extension but
331 should work on anything what utilizes mercurial.mail)
341 should work on anything what utilizes mercurial.mail)
332
342
333 Docstrings mention Debian keyring packages.
343 Docstrings mention Debian keyring packages.
334
344
335 0.1.1
345 0.1.1
336 ~~~~~~~~~~~~~~~~~
346 ~~~~~~~~~~~~~~~~~
337
347
338 Initial public release
348 Initial public release
@@ -1,42 +1,44 b''
1
1
2 VERSION = '1.2.1'
2 VERSION = '1.2.1'
3
3
4 # pylint: disable=unused-import
4 # pylint: disable=unused-import
5
5
6 try:
6 try:
7 from setuptools import setup, find_packages
7 from setuptools import setup, find_packages
8 except ImportError:
8 except ImportError:
9 from ez_setup import use_setuptools
9 from ez_setup import use_setuptools
10 use_setuptools()
10 use_setuptools()
11 from setuptools import setup, find_packages
11 from setuptools import setup, find_packages
12
12
13 LONG_DESCRIPTION = open("README.txt").read()
13 LONG_DESCRIPTION = open("README.txt").read()
14
14
15 setup(
15 setup(
16 name="mercurial_keyring",
16 name="mercurial_keyring",
17 version=VERSION,
17 version=VERSION,
18 author='Marcin Kasperski',
18 author='Marcin Kasperski',
19 author_email='Marcin.Kasperski@mekk.waw.pl',
19 author_email='Marcin.Kasperski@mekk.waw.pl',
20 url='http://bitbucket.org/Mekk/mercurial_keyring',
20 url='http://bitbucket.org/Mekk/mercurial_keyring',
21 description='Mercurial Keyring Extension',
21 description='Mercurial Keyring Extension',
22 long_description=LONG_DESCRIPTION,
22 long_description=LONG_DESCRIPTION,
23 license='BSD',
23 license='BSD',
24 py_modules=['mercurial_keyring'],
24 py_modules=['mercurial_keyring'],
25 keywords="mercurial hg keyring password",
25 keywords="mercurial hg keyring password",
26 classifiers=[
26 classifiers=[
27 'Development Status :: 4 - Beta',
27 'Development Status :: 4 - Beta',
28 'Environment :: Console',
28 'Environment :: Console',
29 'Intended Audience :: Developers',
29 'Intended Audience :: Developers',
30 'License :: DFSG approved',
30 'License :: DFSG approved',
31 'License :: OSI Approved :: BSD License',
31 'License :: OSI Approved :: BSD License',
32 'Programming Language :: Python :: 2',
33 'Programming Language :: Python :: 3',
32 'Operating System :: OS Independent',
34 'Operating System :: OS Independent',
33 'Topic :: Software Development :: Libraries',
35 'Topic :: Software Development :: Libraries',
34 'Topic :: Software Development :: Libraries :: Python Modules',
36 'Topic :: Software Development :: Libraries :: Python Modules',
35 'Topic :: Software Development :: Version Control'
37 'Topic :: Software Development :: Version Control'
36 ],
38 ],
37 install_requires=[
39 install_requires=[
38 'keyring>=0.3',
40 'keyring>=0.3',
39 'mercurial_extension_utils>=1.5.0',
41 'mercurial_extension_utils>=1.5.0',
40 ],
42 ],
41 zip_safe=True,
43 zip_safe=True,
42 )
44 )
General Comments 0
You need to be logged in to leave comments. Login now