r369 - in /debtorrent/trunk: debian/changelog uniquely.py
camrdale-guest at users.alioth.debian.org
camrdale-guest at users.alioth.debian.org
Mon Jan 28 05:34:17 UTC 2008
Author: camrdale-guest
Date: Mon Jan 28 05:34:16 2008
New Revision: 369
URL: http://svn.debian.org/wsvn/debtorrent/?sc=1&rev=369
Log:
Fix a bug in uniquely and change target to experimental.
Modified:
debtorrent/trunk/debian/changelog
debtorrent/trunk/uniquely.py
Modified: debtorrent/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debtorrent/debtorrent/trunk/debian/changelog?rev=369&op=diff
==============================================================================
--- debtorrent/trunk/debian/changelog (original)
+++ debtorrent/trunk/debian/changelog Mon Jan 28 05:34:16 2008
@@ -1,4 +1,4 @@
-debtorrent (0.1.6) unstable; urgency=low
+debtorrent (0.1.6) experimental; urgency=low
* Add support for unique piece numbers
- increases duration of oft-updated torrents so that more peers can
@@ -14,7 +14,7 @@
* Make the download/upload statistics persist over restarts
* Report more and better statistics on the tracker's info page
- -- Cameron Dale <camrdale at gmail.com> Sun, 27 Jan 2008 12:43:05 -0800
+ -- Cameron Dale <camrdale at gmail.com> Sun, 27 Jan 2008 21:23:02 -0800
debtorrent (0.1.5) unstable; urgency=low
Modified: debtorrent/trunk/uniquely.py
URL: http://svn.debian.org/wsvn/debtorrent/debtorrent/trunk/uniquely.py?rev=369&op=diff
==============================================================================
--- debtorrent/trunk/uniquely.py (original)
+++ debtorrent/trunk/uniquely.py Mon Jan 28 05:34:16 2008
@@ -10,6 +10,7 @@
from os import remove
from os.path import exists
from time import strftime, gmtime
+from debian_bundle import deb822
# The piece size to use (must match the '-extrapieces' file's piece size)
DEFAULT_PIECESIZE = 512*1024
@@ -62,14 +63,14 @@
# Read the Packages file names
for file in rel.get('MD5Sum', []):
- if file['name'].endswith("Packages"+EXTENSION) and file['name'] not in packages:
- packages.append(file['name'])
+ if file['name'].endswith("Packages"+EXTENSION) and release_dir + "/" + file['name'] not in packages:
+ packages.append(release_dir + "/" + file['name'])
for file in rel.get('SHA1', []):
- if file['name'].endswith("Packages"+EXTENSION) and file['name'] not in packages:
- packages.append(file['name'])
+ if file['name'].endswith("Packages"+EXTENSION) and release_dir + "/" + file['name'] not in packages:
+ packages.append(release_dir + "/" + file['name'])
for file in rel.get('SHA256', []):
- if file['name'].endswith("Packages"+EXTENSION) and file['name'] not in packages:
- packages.append(file['name'])
+ if file['name'].endswith("Packages"+EXTENSION) and release_dir + "/" + file['name'] not in packages:
+ packages.append(release_dir + "/" + file['name'])
f.close()
More information about the Debtorrent-commits
mailing list