Thanks Gianfranco,

  I'll update the changelog as suggested.

The control file has the following description:

"Description: Show or hide the main toolbar for Rhythmbox"

Maybe something like this is better?

"Description: a Rhythmbox 3.x plugin that provides an enhanced toolbar
capability.
  A compact toolbar with enhanced song seek capabilities.
  A revised graphical interface using the Gnome Headerbar is also available.
  A new simpler sidebar with refreshed icons is optionally available."

The Git tarball as far as I understand it is a snapshot of the particular
commit - e.g. v0.14.1

This tarball would include all the sourcetree files including the files you
said I shouldnt include in the debian package - the .git folder, the tar.gz
file etc.


Maybe I'm just building the debian package in the wrong manner.  I'm doing
the following at the moment:

git clone https://github.com/fossfreedom/alternative-toolbar
cd alternative-toolbar
dch -i
   add the new upstream version and change log
cd ..
cd rhythmbox-plugin-alternative-toolbar-0.14.1
dh_make --createorig
debuild -S -k0x[gpg key]

should I miss out the dh_make --createorig step that creates the package
tarball but instead download the GitHub tag tarball (.tar.gz file) and
rename it appropriately?

Then within the folder rhythmbox-plugin-alterative-toolbar-0.14.1 delete
the files and folders you have recommended that should not packaged?

I thought debuild would then complain because the package contents no
longer match the tarball contents - or is there a debuild option here that
can help?

thanks

David

On 6 November 2015 at 12:35, Gianfranco Costamagna <
costamagnagianfra...@yahoo.it> wrote:

> Hi,
>
>
> >I've never heard of pyflakes and pyflakes3 - so thanks for introducing me
> to these tools.  I've run these and they no longer throw errors out.
>
>
> wonderful
> >I've run your PEP8 command.  The vast majority of the PEP8 issues have
> now been addressed.  For some reason it is picking out whitespace issues
> with documentation >comments.
>
>
> well, they are many false positive in the above tools :)
>
> >There are one-or-two slightly too long PEP8 lines left.  I've left these
> since the readability is important.
>
>
> sure, not a problem at all
> >The find statement is worrying me.  All the translations have been
> exported directly from launchpad.net where the application is actually
> translated by the >wonderful launchpad translation team.  I dont really
> have any control as to the output from launchpad.
>
>
> fine then :)
>
> >Is there a way to "cleanup" these translation po's ?  A quick google
> didnt reveal much.
>
>
> I guess not, maybe poedit fills the files when updating, but I don't know
> about another way, you can leave them
> >With regards to the source package - I've introduced a cleanup script on
> the git project called "debian_cleanup.sh" - this removes the .git folder,
> .idea folder, >the install.sh and the tar.gz file you asked me to remove.
>
>
> sorry but I fail to understand what is the problem in using the git tag
> tarball
> https://github.com/fossfreedom/alternative-toolbar/releases/tag/v0.14.1
>
> when you tag github automagically creates a tarball for you.
>
> I don't care about saving 10k tarball, I care about you not being forced
> to create a new tarball each release, and letting github do its job
> (and watch file getting the correct tarball with "uscan")
>
>
> maybe you need to repack the source because the github tarball is missing
> something, I don't know, but I would like to see you using it if possible
>
> >I have run this script before running dh_make --createorig and debuild
>
>
> this is fine, but difficult to maintain, and useless when github does a
> good job in tarball creation
>
> >The other debian package issues have been addressed (I think).
>
>
> I still see priority: extra instead of optional, and a really really
> little package Description :)
>
>
>
> >- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=804192
> >
> >I don't see how I can close this bug report as you requested.
> >
> >Also - I dont really understand what you want me to add to the changelog
> file - something like this?
> >
> >* ITP: 804192
> >* Initial Debian release
>
>
>
> You close bugs by mentioning them in changelog with the "#" char.
>
> e.g.
>
> Initial release. (Closes: #804192)
>
> the Closes: #XXXX is for Debian bugs, while
> LP: #YYYY is for Ubuntu bugs.
>
> (some magic detects the syntax in the changelog and sends a close to the
> bug automagically)
>
>
> HTH,
>
> G.
>
> On 5 November 2015 at 17:48, Gianfranco Costamagna <
> costamagnagianfra...@yahoo.it> wrote:
>
> Control: owner -1 !
> >Control: tags -1 moreinfo
> >
> >Hi
> >let's review:
> >
> >
> >1) changelog: you need to have only one entry and an ITP bug closed
> >https://www.debian.org/devel/wnpp/
> >2) changelog: ~debian makes no sense, please remove
> >3) compat: 9
> >4) control: debhelper (>=9)
> >   std-version 3.9.6
> >   priority: optional
> >
> >5) copyright:
> >./alttoolbar_rb3compat.py:# Copyright (C) 2012 - Agustin Carrasco
> >
> >
> >missing
> >
> >years are outdated "2014" is not good, I would say "xxx-2015" where xxx
> is the first copyright
> >
> >Also the first line I guess should use this url
> >Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
> >(not sure if they are the same)
> >
> >6) tarball seems to be not the upstream downloadable from github one
> >(also it contains the git history)
> >
> >7) debian/docs: empty?
> >please add something or drop it
> >(bonus point, use something to translate README.md into a pdf/html page?)
> >
> >
> >8) debian/watch file is missing please add one
> >https://wiki.debian.org/debian/watch
> >
> >check-all-the-things:
> >
> >$ grep -riE 'fixme|todo|hack|xxx' .
> >./alttoolbar_repeat.py:    # will be the hacky solution
> >./alttoolbar_repeat.py:    # This is a hacky old method to 'repeat' the
> current song as soon as it
> >./alttoolbar_repeat.py:    # This is a hacky old method to 'repeat' the
> current song as soon as it
> >
> >
> >$ suspicious-source
> >./img/rb-symbolic-icons.tar.gz
> >
> >
> >$ pyflakes .
> >(lot of stuff)
> >
> >
> >$ pyflakes3 .
> >(lot of stuff)
> >
> >$ pep8 --ignore W191 .
> >
> >(lot of stuff)
> >
> >
> >$ find -type f \( -iname '*.po' -o -iname '*.pot' \) -exec msgfmt --check
> --check-compatibility --check-accelerators --output-file=/dev/null {} \;
> >(lot of stuff)
> >
> >
> >
> >
> >Please note: some of them might be nitpicks/false positive, please check
> and report back :)
> >
> >thanks!
> >
> >(I know it is a lot of work, but the initial review is always the most
> difficult for both parts)
> >
> >cheers,
> >
> >Gianfranco
> >
>

Reply via email to