Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 466328 - net-p2p/torrentinfo-1.0.2: ported to python-r1
Summary: net-p2p/torrentinfo-1.0.2: ported to python-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2013-04-18 08:33 UTC by Nikoli
Modified: 2013-04-23 20:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild, works for me (torrentinfo-1.0.2.ebuild,514 bytes, text/plain)
2013-04-18 08:33 UTC, Nikoli
Details
ebuild for fork (torrentinfo-1.6.0.ebuild,750 bytes, text/plain)
2013-04-19 07:59 UTC, Nikoli
Details
ebuild for fork (torrentinfo-1.8.3.ebuild,754 bytes, text/plain)
2013-04-20 09:26 UTC, Nikoli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikoli 2013-04-18 08:33:21 UTC
Created attachment 345868 [details]
ebuild, works for me

Ported torrentinfo to python-r1.
Comment 1 Mateusz Kowalczyk 2013-04-18 20:36:53 UTC
I'd like to mention that the original author no longer maintains the software and values listed under HOMEPAGE and SRC_URI don't exist anymore.

I have since picked-up the project at https://github.com/ShanaTsunTsunLove/torrentinfo if you're interested.
Comment 2 Nikoli 2013-04-19 07:19:00 UTC
Nice :) Was looking for new version, but did not find anything related to torrentinfo in http://vrai.net/ Do you have ebuilds for your fork? Does it support python-3? What are the most important and visible changes since current portage tree version?
Comment 3 Nikoli 2013-04-19 07:59:06 UTC
Created attachment 345984 [details]
ebuild for fork
Comment 4 Nikoli 2013-04-19 08:09:16 UTC
Mateusz, i like utf support and tests, but why you removed several useful features?
1) Timezone in 'created on'
2) --dump does not show now
announce
announce-list
comment
created by
creation date
encoding
publisher
publisher-url

I use torrentinfo for viewing this info, please restore it.

Why you renamed /usr/bin/torrentinfo to /usr/bin/torrentinfo.py?
Comment 6 Mateusz Kowalczyk 2013-04-19 14:05:20 UTC
It's very much work in progress. I'll be looking to resolve the issues in the next few days.

I do not have an ebuild.
Comment 7 Nikoli 2013-04-20 09:26:51 UTC
Created attachment 346072 [details]
ebuild for fork

All these bugs were fixed upstream, no known regressions now, torrentinfo-1.8.3 works great, thank you Mateusz!

 	
Markos, please commit.
Comment 8 Markos Chandras (RETIRED) gentoo-dev 2013-04-20 11:53:34 UTC
(In reply to comment #7)
> Created attachment 346072 [details]
> ebuild for fork
> 
> All these bugs were fixed upstream, no known regressions now,
> torrentinfo-1.8.3 works great, thank you Mateusz!
> 
>  	
> Markos, please commit.

not sure if we want to have an ebuild for this fork. There might be other forks around and this may cause some confusion. Are we pretty sure the fork is the official continuation of the project? Do existing apps work with the fork?
Comment 9 Nikoli 2013-04-20 12:14:15 UTC
https://encrypted.google.com/search?hl=en&inlang=en&newwindow=1&q=torrentinfo+fork does not find any other forks, 'qgrep -N net-p2p/torrentinfo' does not find anything using torrentinfo, also look at http://people.bath.ac.uk/mk440//torrentinfo/#why-fork So i think it is safe to call https://github.com/ShanaTsunTsunLove/torrentinfo new upstream.
Comment 10 Mateusz Kowalczyk 2013-04-20 12:18:12 UTC
I haven't seen any other forks and when I e-mailed the original author couple of months ago about licensing, he said that he has totally forgotten about writing it which implies that he hasn't had anyone contact him about it.

>Do existing apps work with the fork?
While the output is pretty close to the original, there are now new flags and few old ones have changed their meaning. The implementation (and function names etc.) was reworked so anything scripting directly against the functions defined in the file will be broken.

Having said that, I haven't seen anything actually relying on torrentinfo. ‘equery d torrentinfo’ shows nothing as well. Anything that actually could possibly break can be easily fixed: it's just the matter of changing the flags as the output is largely the same. I should mention that the original had some large issues that I haven't seen mentioned anywhere (such as a typo in a variable name meaning an outright crash in certain conditions) so I don't imagine many people rely on the original behaviour for large scripts.
Comment 11 Markos Chandras (RETIRED) gentoo-dev 2013-04-23 20:22:58 UTC
Thanks. Committed

+*torrentinfo-1.8.4 (23 Apr 2013)
+
+  23 Apr 2013; Markos Chandras <hwoarang@gentoo.org> +torrentinfo-1.8.4.ebuild,
+  metadata.xml:
+  Version bump. Switch to fork in
+  https://github.com/ShanaTsunTsunLove/torrentinfo since upstream is dead. Bug
+  #466328. Thanks to Nikoli <nikoli@lavabit.com> for the ebuild
+

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-p2p/torrentinfo/metadata.xml?r1=1.2&r2=1.3

http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-p2p/torrentinfo/torrentinfo-1.8.4.ebuild?revision=1.1&view=markup&pathrev=HEAD