discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

opescad source code version number

MH
Matthieu Hendriks
Fri, Mar 22, 2024 2:39 PM

Hi,

When I build openscad from source code the About gives me the
compilation date as version. Is there a source code version number
somewhere?

Groet Matthieu


Matthieu Hendriks


Hi, When I build openscad from source code the About gives me the compilation date as version. Is there a source code version number somewhere? Groet Matthieu ------------------------- Matthieu Hendriks -------------------------
TP
Torsten Paul
Fri, Mar 22, 2024 2:50 PM

On 22.03.24 15:39, Matthieu Hendriks via Discuss wrote:

When I build openscad from source code the About gives me the
compilation date as version. Is there a source code version number
somewhere?

No, there is no such a thing except for releases. The build date is
the default.

The nightly builds use -DOPENSCAD_COMMIT=... adding the git commit
hash.

ciao,
Torsten.

On 22.03.24 15:39, Matthieu Hendriks via Discuss wrote: > When I build openscad from source code the About gives me the > compilation date as version. Is there a source code version number > somewhere? No, there is no such a thing except for releases. The build date is the default. The nightly builds use -DOPENSCAD_COMMIT=... adding the git commit hash. ciao, Torsten.
MH
Matthieu Hendriks
Sat, Mar 23, 2024 10:00 AM

Okay, tnx.

I'm not that familiar with Git :( , how can I make sure I've the latest
version of the source code?

Groet Matthieu


Matthieu Hendriks


Torsten Paul via Discuss schreef op 2024-03-22 15:50:

On 22.03.24 15:39, Matthieu Hendriks via Discuss wrote:

When I build openscad from source code the About gives me the
compilation date as version. Is there a source code version number
somewhere?

No, there is no such a thing except for releases. The build date is
the default.

The nightly builds use -DOPENSCAD_COMMIT=... adding the git commit
hash.

ciao,
Torsten.


OpenSCAD mailing list
To unsubscribe send an email to discuss-leave@lists.openscad.org

Okay, tnx. I'm not that familiar with Git :( , how can I make sure I've the latest version of the source code? Groet Matthieu ------------------------- Matthieu Hendriks ------------------------- Torsten Paul via Discuss schreef op 2024-03-22 15:50: > On 22.03.24 15:39, Matthieu Hendriks via Discuss wrote: > >> When I build openscad from source code the About gives me the >> compilation date as version. Is there a source code version number >> somewhere? > > No, there is no such a thing except for releases. The build date is > the default. > > The nightly builds use -DOPENSCAD_COMMIT=... adding the git commit > hash. > > ciao, > Torsten. > > _______________________________________________ > OpenSCAD mailing list > To unsubscribe send an email to discuss-leave@lists.openscad.org
TP
Torsten Paul
Sat, Mar 23, 2024 1:19 PM

On 23.03.24 11:00, Matthieu Hendriks via Discuss wrote:

I'm not that familiar with Git :( , how can I make sure I've the latest
version of the source code?

I can't really answer that as this depends very much on what you are
trying to achieve.

Build now and then, you can grab the ZIP file from github and build
that code. This will give the code base at exactly the time of download.

If you don't plan to change the code, learning enough git to just
fetch the latest version could work too. If you do a full rebuild
it's pretty much just the single command shown on the github page
next to the ZIP download.

If you just want to follow the latest version and building yourself
is not a requirement, there's other options that are built on every
check-in and can be just installed.

ciao,
Torsten.

On 23.03.24 11:00, Matthieu Hendriks via Discuss wrote: > I'm not that familiar with Git :( , how can I make sure I've the latest > version of the source code? I can't really answer that as this depends very much on what you are trying to achieve. Build now and then, you can grab the ZIP file from github and build that code. This will give the code base at exactly the time of download. If you don't plan to change the code, learning enough git to just fetch the latest version could work too. If you do a full rebuild it's pretty much just the single command shown on the github page next to the ZIP download. If you just want to follow the latest version and building yourself is not a requirement, there's other options that are built on every check-in and can be just installed. ciao, Torsten.