Page 1 of 3

Development Builds

PostPosted: Tue Nov 08, 2016 11:39 am
by Robert
One thing I don't like about our development builds is the file dates. (Are they the date the build was first made?)

I would much prefer it if the file dates reflected the last time the file actually changed. Is that possible?

Re: Development Builds

PostPosted: Tue Nov 08, 2016 2:51 pm
by Josef Templ
As far as I know this is not possible but I am not expert enough
to be sure. I haven't seen any file dates stored anywhere in git.
I have given up looking at file dates but only look into the change log.

- Josef

Re: Development Builds

PostPosted: Wed Nov 09, 2016 6:28 am
by Ivan Denisov
There is commit hash in System/Rsrc/Strings.

You can see the history of any file in repository.
Code: Select all
git log -p Host/Mod/Menus.odc
And match the dates it has been changed.

With that hash also you can easily reset repository to the state of this build.
Code: Select all
git reset <commithash>

Re: Development Builds

PostPosted: Wed Nov 09, 2016 8:32 pm
by Robert
Ivan Denisov wrote:...
I didn't really understand any of this, but that probably doesn't matter as it didn't seem to answer my question.
1 - What am I looking for in the Strings file?
2 - Where do I type those git strings?

I used to know how to find the "DOS box" in Windows XP, but now I have switched to Windows 7 I can't even find that.

Re: Development Builds

PostPosted: Thu Nov 10, 2016 8:53 am
by DGDanforth
Robert wrote:I used to know how to find the "DOS box" in Windows XP, but now I have switched to Windows 7 I can't even find that.

If 7 is like 10 then you "run cmd"
-Doug

Re: Development Builds

PostPosted: Thu Nov 10, 2016 11:50 am
by Robert
DGDanforth wrote:If 7 is like 10 then you "run cmd"
Didn't help!

But I have now been shown two ways:
1 - Click the tool bar start button, then type "cmd" into the "Search" box
2 - Hold the <Windows> & <R> keys simultaneously, the type "cmd" into the "Open" box.

I just find this stuff hard!

Re: Development Builds

PostPosted: Thu Nov 10, 2016 4:19 pm
by Zinn
Yes, it is hard to start with a new system. It is out of date. Windows 7 has no support since January 2015.
- Helmut

Re: Development Builds

PostPosted: Thu Nov 10, 2016 6:35 pm
by Ivan Denisov
That is not Command Terminal, but git bash. If you installed https://git-scm.com/ it will be in popup menu.

Re: Development Builds

PostPosted: Fri Nov 11, 2016 1:13 am
by DGDanforth
Robert wrote:
DGDanforth wrote:If 7 is like 10 then you "run cmd"


I just find this stuff hard!


I totally agree!
I give Microsoft an "F" for user interface design and it it is getting worse!

Re: Development Builds

PostPosted: Fri Nov 11, 2016 9:15 am
by Robert
Ivan Denisov wrote:That is not Command Terminal, but git bash.

I tried that first, but Cut-&-Paste from the Forum "CODE:" box did not work so I then tried something else - my mistake. It was not that long a line to type by hand.

If I wanted to automate setting the file dates to their last change time is it easy to run git bash from within BlackBox (or some other tool - Python?), and to recover the output text for machine parsing?