/[qa]/trunk/pts/www/bin/common.py
ViewVC logotype

Log of /trunk/pts/www/bin/common.py

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:

Revision 2523 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu May 5 16:18:16 2011 UTC (2 years ago) by hertzog
File length: 8401 byte(s)
Diff to previous 2517 , to selected 1154
Many fixes to cope with UTF-8 and to be able to regenerate all news.xml

Revision 2517 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun May 1 18:52:06 2011 UTC (2 years ago) by hertzog
File length: 7936 byte(s)
Diff to previous 2325 , to selected 1154
Update to use hashlib instead of deprecated md5 module

Revision 2325 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Dec 24 11:10:48 2009 UTC (3 years, 4 months ago) by hertzog
File length: 7928 byte(s)
Diff to previous 2324 , to selected 1154
Convert to string before doing regex operation.

Revision 2324 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Dec 23 18:48:01 2009 UTC (3 years, 4 months ago) by hertzog
File length: 7912 byte(s)
Diff to previous 2050 , to selected 1154
Fix sources_to_xml.py to deal with multiple entries of the same source
package in Sources file. Uses a pure-python dpkg version comparison
code in common.py to select the latest entry. Fixes #559863, #560352 and
related for the PTS part.

Revision 2050 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 28 16:59:31 2008 UTC (4 years, 5 months ago) by zack
File length: 5395 byte(s)
Diff to previous 2049 , to selected 1154
moved md5sum utility to common

Revision 2049 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Nov 28 16:53:12 2008 UTC (4 years, 5 months ago) by zack
File length: 5100 byte(s)
Diff to previous 1925 , to selected 1154
factorize a new hash_name function instead of hard-coding "liba"
convention

Revision 1925 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Aug 7 03:24:32 2008 UTC (4 years, 9 months ago) by zack
File length: 4848 byte(s)
Diff to previous 1914 , to selected 1154
fix sorting order of news received in the same second (Closes: #354307)

Revision 1914 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jul 11 08:34:03 2008 UTC (4 years, 10 months ago) by hertzog
File length: 4634 byte(s)
Diff to previous 1431 , to selected 1154
Use get_content_type() instead of deprecated get_type().

Revision 1431 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 6 10:16:30 2006 UTC (6 years, 7 months ago) by hertzog
File length: 4638 byte(s)
Diff to previous 1412 , to selected 1154
Add more known VCS (patch from zack)

Revision 1412 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 8 07:41:08 2006 UTC (6 years, 8 months ago) by hertzog
File length: 4575 byte(s)
Diff to previous 1282 , to selected 1154
Applying patch from Stefano Zacchiroli <zack@debian.org> for supporting
the X-VCS-* field.

Revision 1282 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 19 15:33:35 2006 UTC (7 years, 2 months ago) by jeroen
File length: 3908 byte(s)
Diff to previous 1155 , to selected 1154
- Use static URL's for all types of news (Closes: #268418)
- Move html generation to update_news.py, so that regeneration is only once
  per message, forcing update is now simple by removing .html file and running
  update_news.py again
- Use UTC times for everything news-related

Revision 1155 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Nov 20 16:10:41 2005 UTC (7 years, 5 months ago) by jeroen
File length: 4512 byte(s)
Diff to previous 1154
Use email.Header for RFC2047 header decoding, to fix deprecation warning.
Thanks to Adeodato Sim�� for helping with getting the python right

Revision 1154 - (view) (download) (as text) (annotate) - [selected]
Modified Sun Nov 20 14:55:09 2005 UTC (7 years, 5 months ago) by jeroen
File length: 4431 byte(s)
Diff to previous 937
- Fix encoding to utf8: non-ascii without encoding not allowed by Sarge's
  python
- Use default python (instead of 2.2) everywhere in the web part of the PTS

Revision 937 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 6 15:10:46 2005 UTC (8 years, 3 months ago) by jeroen
File length: 4407 byte(s)
Diff to previous 934 , to selected 1154
Don't fail if distribution or urgency can't be displayed

Revision 934 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 6 01:53:42 2005 UTC (8 years, 3 months ago) by jeroen
File length: 4163 byte(s)
Diff to previous 933 , to selected 1154
email.Utils.decode crashes on non-ascii-stuff, just ignore that error, as
headers ascii (rfc2047) xor some non-ascii charset

Revision 933 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Feb 6 01:46:15 2005 UTC (8 years, 3 months ago) by jeroen
File length: 4064 byte(s)
Diff to previous 931 , to selected 1154
- Override katie's install subject with something more appropriate for the pts
- use email address if no realname is found
- decode rfc2047 from: addresses
- Have X-PTS-{summary,from} override their respective real headeres

Revision 931 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 5 23:53:06 2005 UTC (8 years, 3 months ago) by jeroen
File length: 3203 byte(s)
Diff to previous 928 , to selected 1154
Cope with both utf8 from's and latin1 from's

Revision 928 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 5 20:51:29 2005 UTC (8 years, 3 months ago) by jeroen
File length: 3081 byte(s)
Diff to previous 923 , to selected 1154
Add from: header of news items to the news.xml file

Revision 923 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 5 19:25:46 2005 UTC (8 years, 3 months ago) by jeroen
File length: 3069 byte(s)
Diff to previous 579 , to selected 1154
- Move storing of news into common.py
- Make recieve_auto also understand removal mails from melanie

Revision 579 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat May 24 18:27:18 2003 UTC (9 years, 11 months ago) by hertzog
File length: 2386 byte(s)
Diff to previous 416 , to selected 1154
- Integrate mail setup in the CVS
- Need to set the PATH everywhere because exim doesn't provide a sane
  PATH apparently.
- Updated the HTML output of mhonarc to remove some useless headers.
- Remove the warning about master not running woody.
- Enable 2 new aliases to let people add custom entries in the section
  "latest news"
- _uploads@packages.qa.debian.org is now subscribed to debian-devel-changes
  and the uploads are integrated in the PTS in real time

Revision 416 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 15 17:40:40 2002 UTC (10 years, 7 months ago) by hertzog
File length: 2339 byte(s)
Diff to previous 352 , to selected 1154
* Force the modes of created files to 0664 (they suddenly got unreadable by
  default...). Changed the umask too.

Revision 352 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Aug 25 21:48:43 2002 UTC (10 years, 8 months ago) by hertzog
File length: 2277 byte(s)
Diff to previous 344 , to selected 1154
* Enhancement to the update_excuses transcription.
* Add a link in "Co-maintainers" field.
* Fix bin/do_all.sh with xargs -r
* Added the licence blurb in common.py.
* Added the TODO list for the web interface.

Revision 344 - (view) (download) (as text) (annotate) - [select for diffs]
Added Mon Aug 12 17:20:36 2002 UTC (10 years, 9 months ago) by hertzog
File length: 2119 byte(s)
Diff to selected 1154
* Added the PTS web interface.

This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.5