Bug#696600: RFS: sun/0.2-1 [ITP] schedule cron or at-jobs at sunrise/set

2012-12-24 Thread Joerg Jaspert
On 13070 March 1977, Steffen Vogel wrote:

> There still the problem that the package name (sun) might be too generic
> to be included in the archive. What do you think about this concern?
> I've collected some alternatives:

> solar
> suncal
> atsun
> sunrun
> suncycles - makes no sense to me

As the one effectively blocking "sun" as a name, my 2¢ here would be on
suncal.  Fits it perfectly IMO.

-- 
bye, Joerg
1. 0  2. 1  3. 2  4. 3  5. 4  6. 5  7. 6  8. 7
|-) What sort of FTP proxy firewall do you have?
   -- libnet-perl 1.16-1


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87d2xzlfh9@gkar.ganneff.de



Re: Bug#696600: RFS: sun/0.2-1 [ITP] schedule cron or at-jobs at sunrise/set

2012-12-24 Thread Adam Borowski
On Sun, Dec 23, 2012 at 11:52:56PM -0200, Henrique de Moraes Holschuh wrote:
> On Mon, 24 Dec 2012, Paul Wise wrote:
> > On Mon, Dec 24, 2012 at 7:45 AM, Steffen Vogel wrote:
> > 
> > > There still the problem that the package name (sun) might be too generic
> > > to be included in the archive. What do you think about this concern?
> > 
> > I think sun is the perfect name for this tool and there is no need to 
> > change it.
> 
> It is indeed too generic.  Better have a not-so-generic name NOW, than
> problems later.

There are two kinds of generic names:
* unrelated ("node" which has very vague ties with "manage a host (node)"
  for HAM and no ties at all for javascript)
* related

For the latter, there's a valuable resource which needs to be shared between
potential users.  If it's not used at all, it goes to waste.  Of course,
end-user confusion is worse than having to type a bit more, so in doubt it's
better to not give the name to anything.

In this case, however, I see no other likely users: there's not much you
can do with Sun the day star on a computer shell, and there are no
legitimate uses related to Sun the part of Oracle (it'll be always something
more specific).  So I'd say letting this package be named "sun" and use
/usr/bin/sun is warranted.

Like, a command-line utility of mine that can transcribe between language
scripts (cyrillic <-> latin <-> greek <-> furthark <-> hangul <-> ...) can
claim a legitimate stake to generic "transcribe", and a dubious but not
completely outlandish to its abbreviation "tran".
 
> I'd go with sun-cron

Incorrect and misleading.  Using it for cron is only one of many possible
uses, and not even the primary one.

-- 
How to squander your resources: those silly Swedes have a sauce named
"hovmästarsås", the best thing ever to put on cheese, yet they waste it
solely on mere salmon.


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20121224112036.ga9...@angband.pl



Bug#696600: RFS: sun/0.2-1 [ITP] schedule cron or at-jobs at sunrise/set

2012-12-23 Thread Henrique de Moraes Holschuh
On Mon, 24 Dec 2012, Paul Wise wrote:
> On Mon, Dec 24, 2012 at 7:45 AM, Steffen Vogel wrote:
> 
> > There still the problem that the package name (sun) might be too generic
> > to be included in the archive. What do you think about this concern?
> 
> I think sun is the perfect name for this tool and there is no need to change 
> it.

It is indeed too generic.  Better have a not-so-generic name NOW, than
problems later.

I'd go with sun-cron, or something like that.  Even "daylight" (which is
likely to also be too generic) would be better than "sun", IMHO...

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20121224015256.ga19...@khazad-dum.debian.net



Bug#696600: RFS: sun/0.2-1 [ITP] schedule cron or at-jobs at sunrise/set

2012-12-23 Thread Paul Wise
On Mon, Dec 24, 2012 at 7:45 AM, Steffen Vogel wrote:

> There still the problem that the package name (sun) might be too generic
> to be included in the archive. What do you think about this concern?

I think sun is the perfect name for this tool and there is no need to change it.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


-- 
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/caktje6fptb_yot_fh72jnhlsiengberyyevxvo5v49pss3r...@mail.gmail.com



Bug#696600: RFS: sun/0.2-1 [ITP] schedule cron or at-jobs at sunrise/set

2012-12-23 Thread gregor herrmann
On Mon, 24 Dec 2012 00:45:40 +0100, Steffen Vogel wrote:

> thanks for reviewing my package! I've fixed all points you mentioned.

That was quick :)
 
> There still the problem that the package name (sun) might be too generic
> to be included in the archive. What do you think about this concern?

To be honest, I also had this concern when I read your first mail on
-mentors. Something less generic might be nice if we come up with a
good idea.

> I've collected some alternatives:
> 
> solar
> suncal
> atsun
> sunrun
> suncycles - makes no sense to me

suncal(c) would be my favourite at the moment.


Before sunset (movie title)
From dusk till dawn
something with 'rise' and 'set'
Rise and Shine!
twiglight (since it's an option)

 
> Am Sonntag, den 23.12.2012, 23:17 +0100 schrieb gregor herrmann:
> > - The package doesn't build on a machine / in a chroot without
> >   internet access because the tests fail:
> fixed. I moved the binary from the check_ prefix to the noinst_ prefix.
> So it gets compiled for testing purposes but not installed by automake.

Yup, works.
 
> > - You can remove the override_dh_auto_configure in debian/rules if
> >   you use debhelper (>= 9) in debian/control and 9 in debian/compat.
> fixed.

Purely aesthetic remark: You used "debhelper (>= 9.0.0)" now. The
additional minor version has no benefit over a plain "(>= 9)". (It
also doesn't hurt to the best of my knowledge.)
 
> > - Please run lintian with all bells and whistles turned on against
> >   the .changes file. It reports for me:
> >   debian-watch-contains-dh_make-template and 
> >   3x hyphen-used-as-minus-sign for the manpage
> fixed. I've run lintian with --pedantic -E. No more warnings are showing
> up. 

Perfect!

> Just debian-mentor's lintian claims:
>   newer-standards-version  3.9.4 (current is 3.9.3)

Well, yes, looks like someone should update lintian on mentors.d.n :)
 
> > - Installing the empty NEWS file doesn't look so helpful :)
> >   (And I'd rename docs to sun.docs for consistency with
> >   sun.manpages.)
> fixed. Automake requires the NEWS file. So, I removed it from
> debian/sun.docs.

Yup, that was my idea.


One last nitpick: The example with Berlin in the manpage seems to
have wrong coordinates; --lat=50.55 --lon=-6.2 is in the Atlantic
between Britanny and Cornwall (or Finistère and Land's End). 


Ok, so let's think a bit about the name, and maybe somone else wants
to take a look at the package, but basically this looks all very good
already.


Cheers,
gregor
 
-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Mark Knopfler: Sailing To Philadelphia


signature.asc
Description: Digital signature


Bug#696600: RFS: sun/0.2-1 [ITP] schedule cron or at-jobs at sunrise/set

2012-12-23 Thread Steffen Vogel
Hi Gregor,

thanks for reviewing my package! I've fixed all points you mentioned.

There still the problem that the package name (sun) might be too generic
to be included in the archive. What do you think about this concern?
I've collected some alternatives:

solar
suncal
atsun
sunrun
suncycles - makes no sense to me

Am Sonntag, den 23.12.2012, 23:17 +0100 schrieb gregor herrmann:
> - The package doesn't build on a machine / in a chroot without
>   internet access because the tests fail:

fixed. I moved the binary from the check_ prefix to the noinst_ prefix.
So it gets compiled for testing purposes but not installed by automake.

> - You can remove the override_dh_auto_configure in debian/rules if
>   you use debhelper (>= 9) in debian/control and 9 in debian/compat.

fixed.

> - Current Standards-Version is 3.9.4.

fixed.

> - You don't need the version restrictions for pkg-config libjson0-dev
>   libcurl4-openssl-dev in debian/control, for all 3 packages there
>   are no older versions in the archive.

fixed.

> - Please run lintian with all bells and whistles turned on against
>   the .changes file. It reports for me:
>   debian-watch-contains-dh_make-template and 
>   3x hyphen-used-as-minus-sign for the manpage

fixed. I've run lintian with --pedantic -E. No more warnings are showing
up. Just debian-mentor's lintian claims:
  newer-standards-version  3.9.4 (current is 3.9.3)

> - Installing the empty NEWS file doesn't look so helpful :)
>   (And I'd rename docs to sun.docs for consistency with
>   sun.manpages.)

fixed. Automake requires the NEWS file. So, I removed it from
debian/sun.docs.

I uploaded a the updated package to debian-mentors [1].

Regards,
  Steffen

[1] http://mentors.debian.net/package/sun

-- 
Steffen Vogel
Robensstraße 69
52070 Aachen

Mail: p...@steffenvogel.de
Mobil: +49 176 34911387
Web: http://www.steffenvogel.de
Jabber: st...@jabber.ccc.de
ICQ: 236033


signature.asc
Description: This is a digitally signed message part


Bug#696600: RFS: sun/0.2-1 [ITP] schedule cron or at-jobs at sunrise/set

2012-12-23 Thread gregor herrmann
Control: tag -1 + moreinfo

On Sun, 23 Dec 2012 20:01:11 +0100, Steffen Vogel wrote:

> I am looking for a sponsor for my new package "sun"
> 
>  Package name: sun
>  Version : 0.2-1
>  Upstream Author : Steffen Vogel 
>  URL : https://github.com/stv0g/sun
>  License : GPL
>  Section : utils
> 
> Alternatively, one can download the package with dget using this
> command:
> dget -x http://mentors.debian.net/debian/pool/main/s/sun/sun_0.2-1.dsc

Really a nice tool.

I took a quick and probably not complete look at the package, some
notes:

- The package doesn't build on a machine / in a chroot without
  internet access because the tests fail:
  
make  check-TESTS
make[3]: Entering directory `/tmp/buildd/sun-0.2/src'
request failed: Couldn't connect to server
FAIL: geonames
=
1 of 1 test failed
Please report to p...@steffenvogel.de
=

- You can remove the override_dh_auto_configure in debian/rules if
  you use debhelper (>= 9) in debian/control and 9 in debian/compat.

- Current Standards-Version is 3.9.4.

- You don't need the version restrictions for pkg-config libjson0-dev
  libcurl4-openssl-dev in debian/control, for all 3 packages there
  are no older versions in the archive.

- Please run lintian with all bells and whistles turned on against
  the .changes file. It reports for me:
  debian-watch-contains-dh_make-template and 
  3x hyphen-used-as-minus-sign for the manpage

- Installing the empty NEWS file doesn't look so helpful :)
  (And I'd rename docs to sun.docs for consistency with
  sun.manpages.)

Thanks for writing this nice tool!


Cheers,
gregor

-- 
 .''`.  Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06
 : :' : Debian GNU/Linux user, admin, and developer  -  http://www.debian.org/
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Peter Ratzenbeck: Foggey Dew


signature.asc
Description: Digital signature


Processed: Re: Bug#696600: RFS: sun/0.2-1 [ITP] schedule cron or at-jobs at sunrise/set

2012-12-23 Thread Debian Bug Tracking System
Processing control commands:

> tag -1 + moreinfo
Bug #696600 [sponsorship-requests] RFS: sun/0.2-1 [ITP] schedule cron or 
at-jobs at sunrise/set
Added tag(s) moreinfo.

-- 
696600: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696600
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.s.b696600.135630106626326.transcr...@bugs.debian.org



Bug#696600: RFS: sun/0.2-1 [ITP] schedule cron or at-jobs at sunrise/set

2012-12-23 Thread Steffen Vogel
Package: sponsorship-requests
Severity: wishlist

Dear mentors,

I am looking for a sponsor for my new package "sun"

 Package name: sun
 Version : 0.2-1
 Upstream Author : Steffen Vogel 
 URL : https://github.com/stv0g/sun
 License : GPL
 Section : utils

It builds those binary packages:
  sun   - solar ephemeris calculator

I wrote this tool to easily schedule the switching of my lighting for
home automation.
Its a stand alone binary following the unix paradigm. Its designed to be
used in conjunjtion with cron, at
date etc.

For me this tool is extremly useful as you might note with these
examples:

Schedule a BIOS wakeup 10 minutes before the sunrise in Berlin:
 nvram-wakeup -s $(date -d "-10min $(sun rise -q Berlin)" +%s)

Shutdown the system 10 minutes after sunset:
 shutdown $(date -d +10min $(src/sun set --lat=50.55 --lon=-6.2) +%H:%M)

Enable my lighting at cilil twiglight:
  echo ~/bin/enable-lightning | at $(sun set -q Frankfurt -t civil)

To access further information about this package, please visit the
following URL:
http://mentors.debian.net/package/sun

Alternatively, one can download the package with dget using this
command:
dget -x http://mentors.debian.net/debian/pool/main/s/sun/sun_0.2-1.dsc

More information about sun can be obtained from my blog:
http://www.steffenvogel.de/2012/12/23/cron-jobs-fur-sonnenauf-untergang/

or my ITP bugreport:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=696593

Regards,
 Steffen Vogel

-- 
Steffen Vogel
Robensstraße 69
52070 Aachen

Mail: p...@steffenvogel.de
Mobil: +49 176 34911387
Web: http://www.steffenvogel.de
Jabber: st...@jabber.ccc.de
ICQ: 236033


signature.asc
Description: This is a digitally signed message part