Commit Graph

37 Commits

Author SHA1 Message Date
ᴩʜᴏɴᴇᴅʀᴏɪᴅ
f620d68c19 Removed outdated UTF8 declaration [ Other ] (#24528)
* Removed outdated UTF8 declaration

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-10-13 18:34:43 +02:00
Chris Hennes
965bb6d2c8 Tools: Use a safer hostname detection 2025-06-20 22:40:55 +02:00
Chris Hennes
0f6ef9571f Precommit: formatting fixes after Black update 2024-04-04 23:24:37 -05:00
Dov Grobgeld
8707578ce1 Fix regexp string quoting 2024-03-31 17:28:47 +02:00
Adrián Insaurralde Avalos
1d9df8f8a9 Revert "disable git info"
This reverts commit a0f3be8a0feb837c266ebdd9939a704e90c3959d.
2023-11-19 15:15:26 -03:00
Adrián Insaurralde Avalos
29252e6df7 disable git info 2023-11-18 17:44:50 -03:00
wmayer
d635a0a034 Core: switch from master to main in version number script 2023-10-10 13:09:44 +02:00
Chris Hennes
99cd277a93 Tools: Apply pre-commit autoformatting 2023-04-22 13:07:06 -05:00
luz paz
aec90797b4 Fix various 'testing inequality to None' syntax issues
Substitute `is not None` for `!= None`
2022-07-30 22:41:31 -04:00
wmayer
859a9ce75c Tools: lgtm: removes unused imports in Python scripts 2022-03-20 21:41:30 +01:00
Chris Hennes
62bfb44a0d [Tools] Fix static analyis issues
This commit addresses issues identified by LGTM for the various
independent (and mostly-independent) files in the Tools subdirectory.
The vast majority of the issues are trivial, and are things like unused
imports or catching BaseException. There was one true bug identified, a
global variable being changed in a function where it was not marked
global, but it only affected output quantity (the variable is named
"VERBOSE"). A couple of other issues identified variables that appear to
represent no-longer-existing options in the code. The options were left,
but a deprecation printout replaces the variable in the event the option
is provided.
2021-02-28 17:53:04 +01:00
wmayer
5cfe5eacca Tools: [skip ci] move import of requests module into try/except block 2020-04-15 10:39:46 +02:00
wmayer
43d1a76758 [skip ci]: make SubWCRef not to fail if internet connection is blocked 2020-04-14 12:38:53 +02:00
wmayer
752272a8cb Tools: [skip ci] implement method to get commit number, date and branch name from sha 2020-04-13 13:32:32 +02:00
Przemo Firszt
f37f0256ef SubWCRev out ot source build fix by sopwith
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2019-09-21 13:14:46 +02:00
luz.paz
c2827611be [Crowdin] string fix + misc. typo and whitespace fixes
* Crowdin link: https://crowdin.com/translate/freecad/6766/en-hu#6576162  
* Tacked on a few typo+whitespace fixes
2019-06-20 18:42:09 +02:00
Peter Lama
7bd3bf7fb1 Update commit count reference for shallow clones
Clone depth for travis is set to 5000. Using the current HEAD
as reference means we won't have to update it again for awhile.
2018-09-05 10:59:34 +02:00
wmayer
4b29b6c5d5 reduce compile time after each time cmake configure is executed (Version.h) 2018-08-21 14:06:33 +02:00
luzpaz
985980648c Typos: user-facing and trivial
Several typos and uniformity fixes.
Note: 
*SCL/SimpleDataTypes.py is a upstream stepcode file whose fiz has been submitted upstream and accepted.
*the header of Tools/generateBase/generateMetaModel_Module.xsd  had redundant data. It has been removed. Please double check it.
2017-12-02 14:00:57 +01:00
luzpaz
11cc9f12e9 Tools: SubWCRev.py file info update
Modified the file summary to reflect that the file supports svn, bazaar and git. 
+ updating revision history
2017-11-27 17:52:00 -05:00
Unknown
8d9bd319bd Misc. Typos 2017-10-09 19:59:33 +02:00
looooo
cf62d45931 py3: src/Tools: python3 diff, 1. part
issue 0000995
2017-05-31 12:04:48 +02:00
Kunda
5aefa825b1 Typo fixes for doxygen and source comments
issue #0002914
2017-03-31 11:25:57 -03:00
wmayer
c74226f7a7 + increase minor and build number, rework creation of Version.h 2016-04-09 15:15:29 +02:00
Sebastian Hoogen
4030703f66 remove sourceforge git url 2015-07-19 20:27:04 +02:00
Sebastian Hoogen
5d4941a7b7 list multiple branches in version info
in case last commit is a octopus merge
2014-12-06 13:54:50 +01:00
Sebastian Hoogen
c50d3bdf59 calculate the revision number from reference commit 2014-12-06 13:54:49 +01:00
Sebastian Hoogen
b05b31a045 split the revision information
to a number for those commits common with the blessed master and a number for
those ahead of the current master

choose the url from available remotes
remove ssh username
accept ssh://[...].sf.net as origin
2014-12-06 13:54:48 +01:00
Sebastian Hoogen
9f1b2c5ffa use the commit time (in UTC) in version information
as it is more meaningfull than the author time
2014-09-20 21:54:41 +02:00
Sebastian Hoogen
5c7cb8d99f 0001349 recognize remote branches for Version.h in detached head state 2014-01-11 13:37:36 +01:00
wmayer
9193dc9a20 Fix a couple of dfsg issues, make git the default vcs 2012-06-21 12:25:53 +02:00
msocorcim
0c0ba9d1dc fix parsing "git branch" response so currently checked out branch is returned 2012-05-10 07:31:11 -04:00
wmayer
ee453416ee Show hash and branch name of Git repo in About dialog 2012-02-04 22:45:44 +01:00
wmayer
b47faa165c + implement mechanism to extract version number from Git 2012-02-01 13:35:33 +01:00
wmayer
46e4bae24d + change license to LGPL
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5385 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2012-01-03 15:16:41 +00:00
jriegel
30de890792 Change some scripts licenses to LGPL 2012-01-03 09:34:20 +01:00
wmayer
120ca87015 + unify DLL export defines to namespace names
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00