Merge lp://staging/~hernejj/ubuntu-qa-tools/better_hugday into lp://staging/ubuntu-qa-tools
Status: | Needs review |
---|---|
Proposed branch: | lp://staging/~hernejj/ubuntu-qa-tools/better_hugday |
Merge into: | lp://staging/ubuntu-qa-tools |
Diff against target: |
1040 lines (+834/-56) 11 files modified
README (+19/-6) debian/changelog (+11/-0) hugday-tools/hugday (+113/-49) hugday_lib/cookie_lib/ChromeCookieLoader.py (+63/-0) hugday_lib/cookie_lib/CookieFinder.py (+149/-0) hugday_lib/cookie_lib/CookieLoader.py (+209/-0) hugday_lib/cookie_lib/EpiphanyCookieLoader.py (+53/-0) hugday_lib/cookie_lib/FirefoxCookieLoader.py (+60/-0) hugday_lib/cookie_lib/KonquerorCookieLoader.py (+111/-0) hugday_lib/cookie_lib/SeamonkeyCookieLoader.py (+43/-0) setup.py (+3/-1) |
To merge this branch: | bzr merge lp://staging/~hernejj/ubuntu-qa-tools/better_hugday |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Markus Korn | Pending | ||
Ubuntu Bug Control | Pending | ||
Review via email: mp+23257@code.staging.launchpad.net |
Commit message
Adds code to do the following:
- Supported browsers: Firefox, Epiphany, Seamonkey, Google Chrome, Konqueror
- Automatic cookie detection for all supported browsers.
- User no longer has to close the browser to find cookies.
- Cookie file format automatically detected when --cookie is given
- User can specify a browser (--browser) and cookie is automatically found within that browser's cookie files.
- Some simple code cleanup and extra commenting in hugday tool.
Description of the change
I've been working on some improvements to the hugday tool (part of the ubuntu-qa-tools) that should make hugday easier to use. Making hugday easier to use will lower the "barrier of entry" for new comers who are interested in participating in the Ubuntu Bug Days. And anything we can do to help people help Ubuntu is a good idea in my book ;).
I've added code to allow for more robust cookie handling by the "hugday init" sub-command. Here is a list of features currently implemented in my branch:
- Supported browsers: Firefox, Epiphany, Seamonkey, Google Chrome, Konqueror
- Automatic cookie detection for all supported browsers.
- User no longer has to close the browser to find cookies.
- Cookie file format automatically detected when --cookie is given
- User can specify a browser (--browser) and cookie is automatically found within that browser's cookie files.
- Some simple code cleanup and extra commenting in hugday tool.
If this is something that bug-control is interested in I'd be happy to have these features merged back into the official ubuntu-
Unmerged revisions
- 339. By Jason J. Herne
-
- Added Google Chromium support
- 338. By Jason J. Herne
-
- Fixed errors in usage information for hugday
- Added previously forgotten cookie loader file
- Updated readme and changelog - 337. By Jason J. Herne
-
- ChromeCookieLoa
der.py: Fixed bug, need to check that cookies were loaded BEFORE we iterate through them ;)
- CookieFinder.py: Added missing import of os module
- CookieFinder.py: Added Konqueror support
- CookieFinder.py: Change browser string comparison to always use lower case
- CookieFinder.py: Fixed bug, In get_cookeies(), don't return if a cookie loader has no cookies, need to check ALL cookie loaders.
- KonquerorCookieLoader. py: Initial import. - 336. By Jason J. Herne
-
- User can now specify exactly which browser to pull cookie file from: --browser=
<firefox| seamonkey| chrome| epiphany> - 335. By Jason J. Herne
-
- bug fix: Expand ~ in path names given by user
- Fixed error mesasge text
- Added print stmt to output the CookieLoader we're using - 334. By jason <jason@foobarbaz>
-
- Fixed timestamp handling in Chrome
- 333. By jason <jason@foobarbaz>
-
- Removed unneeded comment from SeamonkeyLoader
- 332. By Jason J. Herne
-
- Properly close connection to sqlite database files
- 331. By Jason J. Herne
-
- Rewrote existing get_credentials code to use CookieFinder when the user specifies a cookie file on the command line.
- 330. By Jason J. Herne
-
- Bug fix: Check that path exists in cookier_scanner routine before scanning it.
- Bug fix: Uncomment exception handling code (originally commented for testing purposes.)
- Cookie Finder/Loader now provides a method to detect if cookie files were loaded.
- All cookie loaders have been updated to support the above method.
- hugday now uses the above method to give a proper error message if no cookie files were found.
This sounds really exciting! You have followed the proper process for requesting such a merge but unfortunately I don't think we can get this into Lucid since we are past feature freeze. I'm requesting that the original author look at your changes too.