Re: Publish plugin issue

2018-05-17 Thread Holger Mappt

Hi Marián,

Looks like you managed to publish the PointInfo plugin in the meantime 
(r34195). An SVN status with ! is never good. I assume there was a newer 
version in the repo that was not fetched because you had a modified 
dist/pointInfo.jar. Run svn status with option -u (to see what updates 
are in the repository), delete your modified pointInfo.jar, svn update 
dist, publish.


Regards,
Holger


On 2018-05-17 at 12:42 +0200 Marián Kyral wrote:

Hi,
It is a long time ago when I published last version of pointInfo plugin.
Now I want to publish updated version, but it does not work :-(


I've commited changes in code:


r34168 | mkyral | 2018-04-24 07:48:05 +0200 (Út, 24 dub 2018) | 5 lines

PointInfo: Add Spanish Cadastre Web Services module.

Patch by Javier Sánchez Portero.


Then I want to publish updated binary:


$ cd /home/marian/projekty/josm/josm_plugins/dist/
$ svn status
! pointInfo.jar
$ svn update
Updating '.':
Restored 'pointInfo.jar'
At revision 34194.







Re: [OSM-dev] issue with geofabrik europe update

2018-05-17 Thread Michael Reichert
Hi Flo,

Am 17.05.2018 um 16:49 schrieb Florian Lohoff:
> On Wed, May 16, 2018 at 05:50:19PM +0200, Frederik Ramm wrote:
>> Hi,
>>
>> On 05/16/18 14:43, Julien Fastré wrote:
>>> We had a strange issue with a europe diff update from geofabrik: the
>>> diff file is not a valid xml.
>>
>> And that's entirely my fault for using "sed" to modify a couple of .osc
>> files around the beginning of May. Sorry for that! It was after we got
>> rid of uid/user fields in .osc files, and it turned out that some people
>> has issues with the reduced files, so we decided to put dummy uid/user
>> fields back in, and for the old files I quickly did that with a too
>> broad search-and-replace command ;)
> 
> So you actually say that geofabrik pbf/osc files dont contain valid
> usernames anymore?
> 
> I was wondering why i saw numerical usernames but if thats the case
> i can drop usernames from my QA tools.

OSM files which are available on our public server without log-in don't
contain user names, user IDs and changeset IDs. To be precise, these
fields are set to zeros/empty strings because Libosmium < 2.14 (and
Osm2pgsql < 0.96) and Osmosis (all versions) expect these fields in the
DenseInfo block of PBF files.

You can get files with full metadata at
https://osm-internal.download.geofabrik.de

Some information on the access using scripts can be found at
https://blog.geofabrik.de/?p=484
https://github.com/geofabrik/sendfile_osm_oauth_protector#documentation

I am working on cookie support on Osmosis. A preview can be found at
[1]. Someone else is working on the same for pyosmium-up-to-date.

Best regards

Michael


[1] https://github.com/openstreetmap/osmosis/pull/40

-- 
Michael Reichert  www.geofabrik.de
Geofabrik GmbHHandelsregister: HRB Mannheim 703657
Amalienstr. 44Geschaeftsfuehrung: C. Karch, F. Ramm
76133 Karlsruhe   Tel: 0721-1803560-3
reich...@geofabrik.de Fax: 0721-1803560-9



signature.asc
Description: OpenPGP digital signature
___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] issue with geofabrik europe update

2018-05-17 Thread Florian Lohoff
On Wed, May 16, 2018 at 05:50:19PM +0200, Frederik Ramm wrote:
> Hi,
> 
> On 05/16/18 14:43, Julien Fastré wrote:
> > We had a strange issue with a europe diff update from geofabrik: the
> > diff file is not a valid xml.
> 
> And that's entirely my fault for using "sed" to modify a couple of .osc
> files around the beginning of May. Sorry for that! It was after we got
> rid of uid/user fields in .osc files, and it turned out that some people
> has issues with the reduced files, so we decided to put dummy uid/user
> fields back in, and for the old files I quickly did that with a too
> broad search-and-replace command ;)

So you actually say that geofabrik pbf/osc files dont contain valid
usernames anymore?

I was wondering why i saw numerical usernames but if thats the case
i can drop usernames from my QA tools.

Flo
-- 
Florian Lohoff f...@zz.de
 UTF-8 Test: The  ran after a , but the  ran away


signature.asc
Description: PGP signature
___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] issue with geofabrik europe update

2018-05-17 Thread Julien Fastré


Le 16/05/18 à 17:50, Frederik Ramm a écrit :

> 
> Sorry for that - I'm sure it took you some time to figure out what was
> wrong!
> 

Thanks for the explanation !

No problem for me: this is part of the job. I am happy to hear that
there is an explanation for this issue !

Julien Fastré

___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Publish plugin issue

2018-05-17 Thread Marián Kyral

Hi,
It is a long time when I published new version of pointInfo plugin.
Now I want to publish updated version, but it does not work :-(


I've commited changes in code:


r34168 | mkyral | 2018-04-24 07:48:05 +0200 (Út, 24 dub 2018) | 5 lines

PointInfo: Add Spanish Cadastre Web Services module.

Patch by Javier Sánchez Portero.


Then I want to publish updated binary:


$ cd /home/marian/projekty/josm/josm_plugins/dist/
$ svn status
!   pointInfo.jar
$ svn update
Updating '.':
Restored 'pointInfo.jar'
At revision 34194.

$ cd -
/home/marian/projekty/josm/josm_plugins/plugins/pointInfo

$ ant publish
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on 
-Djava.net.preferIPv4Stack=true
Buildfile: 
/home/marian/projekty/josm/josm_plugins/plugins/pointInfo/build.xml


ensure-svn-present:

core-info:
 [echo] Building against core revision 13780.
 [echo] Plugin-Mainversion is set to 12666.
   [delete] Deleting: 
/home/marian/projekty/josm/josm_plugins/plugins/pointInfo/core.info.xml


commit-current:
 [echo] Commiting the plugin source with message 'PointInfo: Add 
Spanish Cadastre Web Services module. Patch by Javier Sánchez Portero.' 
...


update-current:
 [echo] Updating plugin source ...
 [echo] Updating 
/home/marian/projekty/josm/josm_plugins/dist/pointInfo.jar ...

 [exec] Result: 1

clean:
   [delete] Deleting: 
/home/marian/projekty/josm/josm_plugins/dist/pointInfo.jar


init:
[mkdir] Created dir: 
/home/marian/projekty/josm/josm_plugins/plugins/pointInfo/build


pre-compile:

compile:
 [echo] compiling sources for 
/home/marian/projekty/josm/josm_plugins/dist/pointInfo.jar ...
[javac] Compiling 15 source files to 
/home/marian/projekty/josm/josm_plugins/plugins/pointInfo/build


javadoc:
  [javadoc] Generating Javadoc
  [javadoc] Javadoc execution
  [javadoc] Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on 
-Djava.net.preferIPv4Stack=true
  [javadoc] Loading source files for package 
org.openstreetmap.josm.plugins.pointinfo...
  [javadoc] Loading source files for package 
org.openstreetmap.josm.plugins.pointinfo.catastro...
  [javadoc] Loading source files for package 
org.openstreetmap.josm.plugins.pointinfo.ruian...

  [javadoc] Constructing Javadoc information...
  [javadoc] Creating destination directory: 
"/home/marian/projekty/josm/josm_plugins/plugins/pointInfo/javadoc/"

  [javadoc] Standard Doclet version 1.8.0_172
  [javadoc] Building tree for all the packages and classes...
  [javadoc] Building index for all the packages and classes...
  [javadoc] Building index for all classes...

init-svn-revision-xml:

init-git-svn-revision-xml:

init-git-revision-xml:

init-revision-fallback:

revision:
   [delete] Deleting: 
/home/marian/projekty/josm/josm_plugins/plugins/pointInfo/REVISION.XML


dist:
 [echo] creating pointInfo.jar ...

setup-dist:

setup-dist-default:
 [copy] Copying 15 files to 
/home/marian/projekty/josm/josm_plugins/plugins/pointInfo/build/images
 [copy] Copying 35 files to 
/home/marian/projekty/josm/josm_plugins/plugins/pointInfo/build/data
 [copy] Copying 2 files to 
/home/marian/projekty/josm/josm_plugins/plugins/pointInfo/build


check-manifest-attribute:

add-manifest-attribute:

check-manifest-attribute:

add-manifest-attribute:

check-manifest-attribute:

add-manifest-attribute:

check-manifest-attribute:

add-manifest-attribute:

check-manifest-attribute:

add-manifest-attribute:

check-manifest-attribute:

add-manifest-attribute:

additional-manifest:
  [jar] Building jar: 
/home/marian/projekty/josm/josm_plugins/dist/pointInfo.jar
  [jar] Building jar: 
/home/marian/projekty/josm/josm_plugins/dist/pointInfo-sources.jar
  [jar] Building jar: 
/home/marian/projekty/josm/josm_plugins/dist/pointInfo-javadoc.jar
   [delete] Deleting: 
/home/marian/projekty/josm/josm_plugins/plugins/pointInfo/MANIFEST


post-dist:

commit-dist:
 [echo]
 [echo] * Properties of published 
/home/marian/projekty/josm/josm_plugins/dist/pointInfo.jar *
 [echo] Commit message: 'PointInfo: Add Spanish Cadastre Web 
Services module. Patch by Javier Sánchez Portero.'

 [echo] Plugin-Mainversion: 12666
 [echo] JOSM build version: 13780
 [echo] Plugin-Version: 34181
 [echo] * / Properties of published 
/home/marian/projekty/josm/josm_plugins/dist/pointInfo.jar *

 [echo]
 [echo] Now commiting 
/home/marian/projekty/josm/josm_plugins/dist/pointInfo.jar ...

 [echo]
 [exec] Result: 1

publish:

BUILD SUCCESSFUL
Total time: 11 seconds



*Even there is "BUILD SUCCESSFUL" is message, I can see two messages 
"[exec] Result: 1" in log with these details in svn.log*