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