Re: [josm-dev] no latest built for 5 days

2010-08-13 Thread Dirk Stöcker

On Fri, 13 Aug 2010, colliar wrote:


there were latest built/publicized for 5 days, even thought the source-code was
changed.


Thanks for adding r3428 to the download directory.
In fact the automatically build-process seems to be still broken.
There is no r3429 in the download directory,  but the change was commited 25
hours ago.


Hmm, there was an error last time, but now a hand-started compiler run 
worked fine. Strange. We need to observe this.


Please tell me when it happens again, as I usually overlook this.

Ciao
--
http://www.dstoecker.eu/ (PGP key available)


___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] WMS and remote-control

2010-08-13 Thread Komяpa
2010/8/12 Sebastian Klein basti...@googlemail.com:
 Komяpa wrote:

 1) Due to Landsat WMS being down and overloaded usually, we've set up
 a caching WMS proxy for it.
 JOSM URL is http://irs.gis-lab.info/?layers=landsat;
 Please consider updating JOSM defaults.
 Do you want it to show up in the list on the bottom, or make it installed by
 default instead of the standard landsat URL?
 Are you sure, you can handle the traffic?
This server also provides IRS imagery for Russia for quite a long time.
I'm sure it will be able to handle traffic. So, worth trying
installing it by default.

 However you cannot force people to delete an entry from their
 menu, once it has been added it to their bookmarks.
Ok.

 Now, we need a convenient way to load that imagery into josm. An
 extenstion to josm-remote that will load specified WMS URL will be
 just fine. Hope somebody will write it, as I'm no java coder,
 unfortunately.

 There are some security issues when the browser has too much control over
 the client software.

As far as I know, josm-remote has options that lets paranoid users
disable some of its features if they dislike that.

-- 
Darafei Komяpa Praliaskouski
xmpp:m...@komzpa.net mailto:m...@komzpa.net

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] no latest built for 5 days

2010-08-13 Thread Dirk Stöcker

On Fri, 13 Aug 2010, Ævar Arnfjörð Bjarmason wrote:


What sort of automated job is it? If it's in cron you can easily make
cron send you an E-Mail on error.


It is a cronjob, but normally it is too noisy, so all outputs go to 
/dev/null. It is not so easy to get cronjobs to only produce ouput when 
something fails.


I now enabled the outputs for testing, but I know it will work as long as 
they are active and will fail as soon as I disabled them again :-)


Ciao
--
http://www.dstoecker.eu/ (PGP key available)___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] no latest built for 5 days

2010-08-13 Thread Ævar Arnfjörð Bjarmason
On Fri, Aug 13, 2010 at 18:27, Dirk Stöcker openstreet...@dstoecker.de wrote:
 On Fri, 13 Aug 2010, Ævar Arnfjörð Bjarmason wrote:

 What sort of automated job is it? If it's in cron you can easily make
 cron send you an E-Mail on error.

 It is a cronjob, but normally it is too noisy, so all outputs go to
 /dev/null. It is not so easy to get cronjobs to only produce ouput when
 something fails.

It is actually, just install this: http://search.cpan.org/dist/App-Cronjob/

Then put something like this in your crontab:

@daily cronjob -E -j josm-build -E /path/to/build.sh

cronjob(1) will consume all the output, and either print it all or
nothing, depending on the exit code of the program it's running.

If you're running a POSIX shell script you can add this to the top of
the script:

# Exit on errors
trap 'fail' ERR
fail () {
code=$?
echo Failed with exit code $code
exit 1
}

Then you don't have to check the exit code of everything individually.

I use this for all my cronjobs, see
e.g. http://github.com/avar/openstreetmap-mirror for an example, it's
what I use to get E-Mails when the JOSM GitHub mirror fails, but
*only* when it fails.

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev