dev-cafe / autocmake

CMake plugin composer.
http://autocmake.org
BSD 3-Clause "New" or "Revised" License
41 stars 18 forks source link

ERROR: could not fetch //github.com/coderefinery/autocmake/raw/master/lib/config.py #184

Closed miroi closed 7 years ago

miroi commented 7 years ago

Hi Rado,

I tried to update autocmake modules; however, git fetch problem (see below).

Also, how about provide version to update.py so that user knows if there are newer modules in the repository ?

milias@login.grid.umb.sk:~/Work/qch/software/smaller_software_projects/mathlibs-tester_devel/mathlibs-tester_devel/cmake/.python update.py --self
- fetching lib/config.py
ERROR: could not fetch //github.com/coderefinery/autocmake/raw/master/lib/config.py
milias@login.grid.umb.sk:~/Work/qch/software/smaller_software_projects/mathlibs-tester_devel/mathlibs-tester_devel/cmake/.python update.py --version
ERROR: --version is not a directory
milias@login.grid.umb.sk:~/Work/qch/software/smaller_software_projects/mathlibs-tester_devel/mathlibs-tester_devel/cmake/.
bast commented 7 years ago

I don't know what the reason for the fetching problem is. It is not Git. And it is a good point that things should be versioned. I have yet to figure out a good way how to version the scripts and the modules in a coherent way. Suggestions are welcome.

miroi commented 7 years ago

Hi,

i) solved through downloading fresh update.py "milias@login.grid.umb.sk:~/Work/qch/software/smaller_software_projects/mathlibs-tester_devel/mathlibs-tester_devel/cmake/.wget https://github.com/coderefinery/autocmake/raw/stable-0.x/update.py " So, the older "update.py --self" does not always work, safe way is downloading fresh file.

ii) Concerning "update.py --version" ? I would use the same version number as is of the main autocmake.

Closing as solved.

miroi commented 7 years ago

well, at least i would let it flush message for --self 'in case of error download update.py manually...'