Bug#657405: Update

2015-02-01 Thread Simon Fondrie-Teitler
A long-overdue update:

I submitted 0.6.1 to NEW a while back, and it was rejected for not
properly documenting changes made to the source package in order to make
the package dfsg-free. I have fixed this and a few more minor issues
mentioned in the NEW review, along with packaging 0.8.1.

I'm comfortable enough with the state of the package that I think it's
now ready for another review by a DD. I'll be pinging a couple people
for that, but if anyone has time and wants to take a look at it that
would be great.

I've also created an Ansible role for testing a build and install from
the Debian package source, which can be found here:
https://github.com/Simonft/ansible-debian-mediagoblin



signature.asc
Description: PGP signature


Bug#657405: Update

2015-02-01 Thread Simon Fondrie-Teitler
Simon Fondrie-Teitler simo...@riseup.net writes:
 I'm comfortable enough with the state of the package that I think it's
 now ready for another review by a DD. I'll be pinging a couple people
 for that, but if anyone has time and wants to take a look at it that
 would be great.

The git repository is here:
http://anonscm.debian.org/cgit/collab-maint/mediagoblin.git/


signature.asc
Description: PGP signature


Bug#657405: update to 0.7.1?

2014-10-13 Thread Matija Nalis

On Sat, Oct 11, 2014 at 03:24:30PM -0400, Simon Fondrie-Teitler wrote:
 Sorry about the extended silence. I've been trying to find time/energy
 to work on it, and not doing a very good job. I'll hopefully get some
 work done this weekend, and if a DD wants to take a look and upload the
 0.6.1 that would be great. I'm going to try to get in contact with
 Asheesh today.

If you're short on time, I'll be willing to land a hand as much as
needed doing work on it - time is very short before Jessie freeze,
and I think it would be a great shame if we missed it.

 Matija Nalis mnalis-debian...@voyager.hr writes:
  Could you update the package to more recent 0.7.1?
 
 I've been meaning to take a look at this, but it depends on
 sqlalchemy0.9.0, 0.8.0. The version in unstable is 0.9.7. I'm not sure
 if that actually breaks anything, but I recall Chris Webber saying that
 some people had to run setup.py more than once to get it to work.

Well, it seems to works fine for me with 0.9.7. (setup.py supposedly
got run only when I built the package, I didn't touch it later).
Build machines would run it in clean environment (as did I) so I
guess it would probably be consistent (either in building or
failing).

 I'm not a DD either. You can create an account here:
 https://alioth.debian.org/account/register.php You'll then need apply
 for access to the collab-maint repository and have a DD request access
 for you. See here for more:
 https://lists.debian.org/debian-devel-announce/2012/01/msg6.html
 
 Would any of the DDs following this be able to do that?

I did create alioth account as mnalis-guest, and requested join on
collab-maint.  

So per instructions I'm hearby asking some interested DD or DM
(Martin?) to send a *signed* email to n...@debian.org saying 
Please accept the request of Matija Nalis mnalis-guest to join
collab-maint. We are going to work together on project mediagoblin.


 While you're waiting for that, feel free to push changes to any other
 location and I'll pull them in and push them up to the collab-maint
 repo.

by the way, is debian/* not in that repo? How should one manage that?


-- 
Opinions above are GNU-copylefted.


-- 
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141014024452.gb9...@c3po.home.lan



Bug#657405: update to 0.7.1?

2014-10-11 Thread Simon Fondrie-Teitler
Hey,

Sorry about the extended silence. I've been trying to find time/energy
to work on it, and not doing a very good job. I'll hopefully get some
work done this weekend, and if a DD wants to take a look and upload the
0.6.1 that would be great. I'm going to try to get in contact with
Asheesh today.

Matija Nalis mnalis-debian...@voyager.hr writes:
 Could you update the package to more recent 0.7.1?

I've been meaning to take a look at this, but it depends on
sqlalchemy0.9.0, 0.8.0. The version in unstable is 0.9.7. I'm not sure
if that actually breaks anything, but I recall Chris Webber saying that
some people had to run setup.py more than once to get it to work.

 I did get http://mediagoblin.org/download/mediagoblin-0.7.1.tar.gz
 and 'uupdate -u', which seemed to go ok. Then I had to remove 
 0001-Fix-Babel-version-restriction.-Onward-and-upward.patch (already
 applied in 0.7.1), and package built and installed.

That sounds right, I actually used git-cherrypick to grab that from a
later commit. 

 however, running sudo -i -u mediagoblin /usr/bin/gmg -cf 
 /etc/mediagoblin/default/mediagoblin.ini dbupdate 
 dies with ImportError: No module named unidecode. 

 Installing python-unidecode (or python3-unidecode, I guess) fixes
 that, so we should add that dependency for 0.7.1.  Same thing is
 needed for python-jsonschema|python3-jsonschema.

 Afterwards, it dies with
   File /usr/lib/python2.7/dist-packages/mediagoblin/tools/metadata.py, line 
 25, in module
 from pyld import jsonld
 ImportError: No module named pyld

 and it doesn't seem like there is pyld in debian.
 pip install PyLD works around that, but we should probably package
 it and add it is a dependency?

Thanks debacle for taking care of this. 

 gmg dbupdate then dies with:

 /usr/lib/python2.7/dist-packages/mediagoblin/tools/metadata.py,
 line 105, in load_resource
 return file(filename).read()
 IOError: [Errno 2] No such file or directory:
 '/usr/lib/python2.7/dist-packages/mediagoblin/static/metadata/rdfa11.jsonld'

 manually copying (as I couldn't find how to make it included in package) with:
 mkdir -p /usr/lib/python2.7/dist-packages/mediagoblin/static/metadata;
 cp mediagoblin/static/metadata/rdfa11.jsonld
 /usr/lib/python2.7/dist-packages/mediagoblin/static/metadata/rdfa11.jsonld

I'm assuming this can be fixed by adding something to
debian/install.mediagoblin. I'll take a look. 

 Also, as mentioned before, I'd like to help with automating some of
 manual tasks in README.Debian.  As I'm not a DD and don't have R/W
 access to anonscm.debian.org, I though about cloning repo from
 http://anonscm.debian.org/cgit/collab-maint/mediagoblin.git/
 somewhere else (github) and then periodically when I have something
 accomplished asking here for merge?  Is there a prefered way?

I'm not a DD either. You can create an account here:
https://alioth.debian.org/account/register.php You'll then need apply
for access to the collab-maint repository and have a DD request access
for you. See here for more:
https://lists.debian.org/debian-devel-announce/2012/01/msg6.html

Would any of the DDs following this be able to do that?

While you're waiting for that, feel free to push changes to any other
location and I'll pull them in and push them up to the collab-maint
repo.

Again, thank you all for your help with this.

Simon


pgp8UEOhhqNyJ.pgp
Description: PGP signature


Bug#657405: update to 0.7.1?

2014-09-28 Thread Matija Nalis
Could you update the package to more recent 0.7.1?

I did get http://mediagoblin.org/download/mediagoblin-0.7.1.tar.gz
and 'uupdate -u', which seemed to go ok. Then I had to remove 
0001-Fix-Babel-version-restriction.-Onward-and-upward.patch (already
applied in 0.7.1), and package built and installed.

however, running sudo -i -u mediagoblin /usr/bin/gmg -cf 
/etc/mediagoblin/default/mediagoblin.ini dbupdate 
dies with ImportError: No module named unidecode. 

Installing python-unidecode (or python3-unidecode, I guess) fixes
that, so we should add that dependency for 0.7.1.  Same thing is
needed for python-jsonschema|python3-jsonschema.

Afterwards, it dies with
  File /usr/lib/python2.7/dist-packages/mediagoblin/tools/metadata.py, line 
25, in module
from pyld import jsonld
ImportError: No module named pyld

and it doesn't seem like there is pyld in debian.
pip install PyLD works around that, but we should probably package
it and add it is a dependency?

gmg dbupdate then dies with:

/usr/lib/python2.7/dist-packages/mediagoblin/tools/metadata.py,
line 105, in load_resource
return file(filename).read()
IOError: [Errno 2] No such file or directory:
'/usr/lib/python2.7/dist-packages/mediagoblin/static/metadata/rdfa11.jsonld'

manually copying (as I couldn't find how to make it included in package) with:
mkdir -p /usr/lib/python2.7/dist-packages/mediagoblin/static/metadata; cp 
mediagoblin/static/metadata/rdfa11.jsonld 
/usr/lib/python2.7/dist-packages/mediagoblin/static/metadata/rdfa11.jsonld


finally allows gmg dbbupdate to finish, although it outputs a warning:
sudo -i -u mediagoblin /usr/bin/gmg -cf 
/etc/mediagoblin/default/mediagoblin.ini dbupdate
WARNING:mediagoblin.init.config:When setting up config section, could not 
import 'mediagoblin.media_types.image'
- Updating main mediagoblin tables:
   + Running migration 20, add_metadata_column... done.
   + Running migration 21, fix_privilege_user_association_table... done.
   + Running migration 22, add_index_username_field... done.
   + Running migration 23, revert_username_index... done


hmm, I though we fixed that mediagoblin.media_types.image warning when we
started depending on python-pil (of which I have 2.5.1-1 installed)?

Anyway, to actually run the server I also needed to do 
pip install exifread, to that too probably neeeds to be packaged.

I don't know how easy it is to package additional python modules? 
For perl and CPAN, that is 5-minute-job with dh-make-perl, but I
don't see dh-make-python...  Anyway, those dependencies on two new
python modules seems to be only real obstacle to getting 0.7.1 to
be packaged... Also, once created, how easy is to add them in debian
archive? Any idea how to proceed here?

Also, as mentioned before, I'd like to help with automating some of
manual tasks in README.Debian.  As I'm not a DD and don't have R/W
access to anonscm.debian.org, I though about cloning repo from
http://anonscm.debian.org/cgit/collab-maint/mediagoblin.git/
somewhere else (github) and then periodically when I have something
accomplished asking here for merge?  Is there a prefered way?

-- 
Opinions above are GNU-copylefted.


-- 
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140928134652.ga11...@c3po.home.lan



Bug#657405: update on mediagoblin?

2014-06-30 Thread Matt Zagrabelny
Hello!

Thanks for working on this ITP. Any update on it getting into the NEW queue?

Cheers!

-mz


-- 
To UNSUBSCRIBE, email to debian-wnpp-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAOLfK3Wd5jNhxn=v4wv3yavvywcwsuvynxhuscpsmqxgwge...@mail.gmail.com