Debian Bug report logs - #727716
ITP: fdroidserver -- F-Droid build server and repository tools for Android

Package: wnpp; Maintainer for wnpp is wnpp@debian.org;

Reported by: Hans-Christoph Steiner <hans@eds.org>

Date: Fri, 25 Oct 2013 16:57:02 UTC

Owned by: "Hans-Christoph Steiner" <hans@eds.org>

Severity: wishlist

Tags: help

Done: Mònica Ramírez Arceda <monica@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org, "Hans-Christoph Steiner" <hans@eds.org>:
Bug#727716; Package wnpp. (Fri, 25 Oct 2013 16:57:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Hans-Christoph Steiner <hans@eds.org>:
New Bug report received and forwarded. Copy sent to wnpp@debian.org, "Hans-Christoph Steiner" <hans@eds.org>. (Fri, 25 Oct 2013 16:57:06 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Hans-Christoph Steiner <hans@eds.org>
To: submit@bugs.debian.org
Subject: ITP: fdroidserver -- F-Droid build server and repository tools for Android
Date: Fri, 25 Oct 2013 12:53:54 -0400
Package: wnpp
Severity: wishlist
Owner: "Hans-Christoph Steiner" <hans@eds.org>
Tags: pending help

* Package name    : fdroidserver
  Version         : 0.1
  Upstream Author : F-Droid Limited (Ciaran Gultnieks, Daniel Martí, and others)
* URL             : https://f-droid.org
* License         : GPL, GFDL-1.3 (with no invariant sections)
  Programming Lang: Python, PHP, Ruby
  Description     : F-Droid build server and repository tools for Android

 F-Droid is an installable catalogue of FOSS (Free and Open Source Software)
 applications for the Android platform. The client makes it easy to browse,
 install, and keep track of updates on your device.
 .
 The F-Droid server tools provide various scripts and tools that are used to
 maintain the main F-Droid application repository. You can use these same
 tools to create your own additional or alternative repository for publishing,
 or to assist in creating, testing and submitting metadata to the main
 repository.

git repo:
http://anonscm.debian.org/gitweb/?p=collab-maint/fdroidserver.git



Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org, "Hans-Christoph Steiner" <hans@eds.org>:
Bug#727716; Package wnpp. (Fri, 08 Nov 2013 14:06:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to chrysn <chrysn@fsfe.org>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org, "Hans-Christoph Steiner" <hans@eds.org>. (Fri, 08 Nov 2013 14:06:05 GMT) Full text and rfc822 format available.

Message #10 received at 727716@bugs.debian.org (full text, mbox):

From: chrysn <chrysn@fsfe.org>
To: 727716@bugs.debian.org
Subject: testing fdroidserver
Date: Fri, 8 Nov 2013 15:03:06 +0100
[Message part 1 (text/plain, inline)]
hello hans-christoph,

i've tested the fdroidserver from your git repository, albeit in a
slightly unconventional way: i'd prefer to have a completely free build
environment, so i'm using the replicant sdk from [1] instead of the
usual android sdk.

this showed a problem with discovering the aapt path:

(reporting this to the itp instead of to a dedicated bug as the package
is still in NEW).

> $ fdroid init
> Reading config.py...
> Enter the path to the Android SDK (/opt/android-sdk): /tmp/replicant/replicant-sdk_linux-x86
> Traceback (most recent call last):
>   File "/usr/bin/fdroid", line 63, in <module>
>     main()
>   File "/usr/bin/fdroid", line 59, in main
>     mod.main()
>   File "/usr/lib/python2.7/dist-packages/fdroidserver/init.py", line 153, in main
>     if os.path.isfile(aapt):
> UnboundLocalError: local variable 'aapt' referenced before assignment

that is due to aapt not being shipped in `build-tools/$VERSION` but in
`platform-tools` in the replicant sdk. (given your comment in 459219,
that part would need an extension to detect a natively installed aapt
too, and ideally not even mention it in the config).


with that set up, i was able to build an fdroid application
(net.sylvek.sharemyposition) with minimal modifications (setting
target=android-15 from target=android-11), and to install it on an
android device.

given that, there is reason to assume that the infrastructure of a full
featured f-droid server can be properly shipped in main. (full-featured
as far as replicant is a full-featured android sdk). but that's probably
something i'd rather report to #459219...

thanks for packaging fdroidserver
chrysn

[1] http://ftp.osuosl.org/pub/replicant/sdk/replicant-4.0/0001/sdk/replicant-sdk_linux-x86.zip

-- 
To use raw power is to make yourself infinitely vulnerable to greater powers.
  -- Bene Gesserit axiom
[signature.asc (application/pgp-signature, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, wnpp@debian.org, "Hans-Christoph Steiner" <hans@eds.org>:
Bug#727716; Package wnpp. (Mon, 11 Nov 2013 15:33:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Hans-Christoph Steiner <hans@at.or.at>:
Extra info received and forwarded to list. Copy sent to wnpp@debian.org, "Hans-Christoph Steiner" <hans@eds.org>. (Mon, 11 Nov 2013 15:33:04 GMT) Full text and rfc822 format available.

Message #15 received at 727716@bugs.debian.org (full text, mbox):

From: Hans-Christoph Steiner <hans@at.or.at>
To: chrysn <chrysn@fsfe.org>, 727716@bugs.debian.org
Subject: Re: Bug#727716: testing fdroidserver
Date: Mon, 11 Nov 2013 10:31:38 -0500
[Message part 1 (text/plain, inline)]
My plan is to package aapt itself and have fdroidserver depend on it, and use
the built-in aapt by default.  I've never used Replicant, tho I'm happy to
hear it exists.  As for adding support for replicant SDK paths, I think that
should happen upstream.  Since I've never worked with it, I can only say
"patches welcome".

.hc

On 11/08/2013 09:03 AM, chrysn wrote:
> hello hans-christoph,
> 
> i've tested the fdroidserver from your git repository, albeit in a
> slightly unconventional way: i'd prefer to have a completely free build
> environment, so i'm using the replicant sdk from [1] instead of the
> usual android sdk.
> 
> this showed a problem with discovering the aapt path:
> 
> (reporting this to the itp instead of to a dedicated bug as the package
> is still in NEW).
> 
>> $ fdroid init
>> Reading config.py...
>> Enter the path to the Android SDK (/opt/android-sdk): /tmp/replicant/replicant-sdk_linux-x86
>> Traceback (most recent call last):
>>   File "/usr/bin/fdroid", line 63, in <module>
>>     main()
>>   File "/usr/bin/fdroid", line 59, in main
>>     mod.main()
>>   File "/usr/lib/python2.7/dist-packages/fdroidserver/init.py", line 153, in main
>>     if os.path.isfile(aapt):
>> UnboundLocalError: local variable 'aapt' referenced before assignment
> 
> that is due to aapt not being shipped in `build-tools/$VERSION` but in
> `platform-tools` in the replicant sdk. (given your comment in 459219,
> that part would need an extension to detect a natively installed aapt
> too, and ideally not even mention it in the config).
> 
> 
> with that set up, i was able to build an fdroid application
> (net.sylvek.sharemyposition) with minimal modifications (setting
> target=android-15 from target=android-11), and to install it on an
> android device.
> 
> given that, there is reason to assume that the infrastructure of a full
> featured f-droid server can be properly shipped in main. (full-featured
> as far as replicant is a full-featured android sdk). but that's probably
> something i'd rather report to #459219...
> 
> thanks for packaging fdroidserver
> chrysn
> 
> [1] http://ftp.osuosl.org/pub/replicant/sdk/replicant-4.0/0001/sdk/replicant-sdk_linux-x86.zip
> 

[signature.asc (application/pgp-signature, attachment)]

Reply sent to Mònica Ramírez Arceda <monica@debian.org>:
You have taken responsibility. (Mon, 20 Jan 2014 07:21:08 GMT) Full text and rfc822 format available.

Notification sent to Hans-Christoph Steiner <hans@eds.org>:
Bug acknowledged by developer. (Mon, 20 Jan 2014 07:21:08 GMT) Full text and rfc822 format available.

Message #20 received at 727716-close@bugs.debian.org (full text, mbox):

From: Mònica Ramírez Arceda <monica@debian.org>
To: 727716-close@bugs.debian.org
Subject: bug 727716 is ITP for package fdroidserver already in Debian
Date: Mon, 20 Jan 2014 08:18:17 +0100
Hi,

I'm closing this bug because this package is already in Debian:
http://packages.qa.debian.org/fdroidserver

Regards.



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Mon, 17 Feb 2014 07:26:38 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 01:59:38 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.