Skip to content

Conversation

@akshayb2022
Copy link

./update_tile_layers.py geoserver_url geoserver_username geoserver_pass ./layers.txt tl_config_template.xml

@akshayb2022 akshayb2022 requested a review from randomorder April 29, 2022 08:00
@akshayb2022 akshayb2022 self-assigned this Apr 29, 2022
@randomorder randomorder requested review from lpasquali and removed request for randomorder April 29, 2022 08:05
@randomorder
Copy link
Member

randomorder commented Apr 29, 2022

can you test / review this @lpasquali ?

Copy link
Contributor

@lpasquali lpasquali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this script has nothing to do with performances, it should be moved under utils.

Copy link
Contributor

@lpasquali lpasquali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add requirements.txt for python modules used

password = sys.argv[3]
layer_file = sys.argv[4]
xml_file = sys.argv[5]

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add checks to validate presence of correct arguments and, if something is not right, print the usage you put on top.

Copy link
Contributor

@lpasquali lpasquali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please validate arguments and print an usage in case something is missing

@lpasquali
Copy link
Contributor

Hello @akshayb2022, I reviewed you code, please check my comments and update it with changes requested, many thanks in advance!

@akshayb2022
Copy link
Author

Hello @akshayb2022, I reviewed you code, please check my comments and update it with changes requested, many thanks in advance!

Hello @lpasquali
Thanks for reviewing the code.
I will do the mentioned changes and update you.

@randomorder randomorder requested a review from lpasquali May 4, 2022 08:20
@lpasquali
Copy link
Contributor

lpasquali commented May 9, 2022

hello @akshayb2022 I see you made most of changes requested.
Please do as well https://github.com/geosolutions-it/scripts/pull/25/files/e9e4bc3a8864dd1763b5e85fc225c3f83b14c9c5#r862699591
and if you can add a bried README.md with same content of the usage it would be super.
Many thanks in advance.

@akshayb2022
Copy link
Author

hello @akshayb2022 I see you made most of changes requested. Please do as well https://github.com/geosolutions-it/scripts/pull/25/files/e9e4bc3a8864dd1763b5e85fc225c3f83b14c9c5#r862699591 and if you can add a bried README.md with same content of the usage it would be super. Many thanks in advance.

Done, please check

@randomorder
Copy link
Member

are we done here @lpasquali ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants