Re: [Dorset] Determining which revision of code was downloaded from GitLab.

2020-08-13 Thread Ralph Corderoy
Hi Terry, > Presumably, when the makefile described by Ralph processes this, it > creates this zip through some kind of script. ... > In other words a makefile, but without the compilation stage. A makefile is useful for many things other than just compiling code as it defines a set of ‘targets’

Re: [Dorset] Determining which revision of code was downloaded from GitLab.

2020-07-20 Thread Hamish McIntyre-Bhatty
On 20/07/2020 14:04, Terry Coles wrote: > On Monday, 20 July 2020 13:55:14 BST Hamish McIntyre-Bhatty wrote: >> No, I think we absolutely could do that, and it would be a good >> solution, though perhaps a little tricky for future maintainers. If you >> think we should do that then I'm happy to

Re: [Dorset] Determining which revision of code was downloaded from GitLab.

2020-07-20 Thread Terry Coles
On Monday, 20 July 2020 13:55:14 BST Hamish McIntyre-Bhatty wrote: > No, I think we absolutely could do that, and it would be a good > solution, though perhaps a little tricky for future maintainers. If you > think we should do that then I'm happy to write us such a script. I think that it should

Re: [Dorset] Determining which revision of code was downloaded from GitLab.

2020-07-20 Thread Hamish McIntyre-Bhatty
On 20/07/2020 13:45, Terry Coles wrote: > On Monday, 20 July 2020 13:35:19 BST Hamish McIntyre-Bhatty wrote: >> Sadly, seeing as this is Python software, we don't have a makefile. I >> know there are a variety of ways to solve this going forwards, including >> even just noting what the commit was

Re: [Dorset] Determining which revision of code was downloaded from GitLab.

2020-07-20 Thread Terry Coles
On Monday, 20 July 2020 13:35:19 BST Hamish McIntyre-Bhatty wrote: > Sadly, seeing as this is Python software, we don't have a makefile. I > know there are a variety of ways to solve this going forwards, including > even just noting what the commit was at the time of deployment on our > forum or

Re: [Dorset] Determining which revision of code was downloaded from GitLab.

2020-07-20 Thread Hamish McIntyre-Bhatty
On 20/07/2020 12:30, Ralph Corderoy wrote: > > If the tar-file download doesn't include the revision in its filename > and the directory it unpacks then I'd either post-process it to do that > or stop using the web download and do a proper ‘release’ target in the > software's makefile. Then when

Re: [Dorset] Determining which revision of code was downloaded from GitLab.

2020-07-20 Thread Ralph Corderoy
Hi Hamish, > GitHub and GitLab allow you to download all files from a branch as a > compressed archive, using your web browser. For a while, this is how > we've deployed the river control system software at Wimborne Model > Town, as the system hasn't had internet access, historically speaking. >

[Dorset] Determining which revision of code was downloaded from GitLab.

2020-07-20 Thread Hamish McIntyre-Bhatty
Hi all, So as you may know, GitHub and GitLab allow you to download all files from a branch as a compressed archive, using your web browser. For a while, this is how we've deployed the river control system software at Wimborne Model Town, as the system hasn't had internet access, historically