Chris Hennes
b93c02e07d
Precommit: formatting fixes after Black update
2024-04-04 23:24:37 -05:00
Dov Grobgeld
67ac3631ce
Fix regexp string quoting
2024-03-31 17:28:47 +02:00
Adrián Insaurralde Avalos
c20a3e9543
Revert "disable git info"
...
This reverts commit 3b7da50ca7 .
2023-11-19 15:15:26 -03:00
Adrián Insaurralde Avalos
3b7da50ca7
disable git info
2023-11-18 17:44:50 -03:00
wmayer
816a054203
Core: switch from master to main in version number script
2023-10-10 13:09:44 +02:00
Chris Hennes
4a7e1b6d9b
Tools: Apply pre-commit autoformatting
2023-04-22 13:07:06 -05:00
luz paz
c457f3bfbd
Fix various 'testing inequality to None' syntax issues
...
Substitute `is not None` for `!= None`
2022-07-30 22:41:31 -04:00
wmayer
42d48103e8
Tools: lgtm: removes unused imports in Python scripts
2022-03-20 21:41:30 +01:00
Chris Hennes
e2bb84fd2f
[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
843d394957
Tools: [skip ci] move import of requests module into try/except block
2020-04-15 10:39:46 +02:00
wmayer
890809bcb0
[skip ci]: make SubWCRef not to fail if internet connection is blocked
2020-04-14 12:38:53 +02:00
wmayer
27a475d84b
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
9a82946296
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
3fe94ea7cf
[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
e0f8dede06
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
3927a2ed8b
reduce compile time after each time cmake configure is executed (Version.h)
2018-08-21 14:06:33 +02:00
luzpaz
56111a0810
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
c6b3ebba85
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
ad457ba96b
Misc. Typos
2017-10-09 19:59:33 +02:00
looooo
11dcd18e0f
py3: src/Tools: python3 diff, 1. part
...
issue 0000995
2017-05-31 12:04:48 +02:00
Kunda
784edd3f82
Typo fixes for doxygen and source comments
...
issue #0002914
2017-03-31 11:25:57 -03:00
wmayer
1d75efea75
+ increase minor and build number, rework creation of Version.h
2016-04-09 15:15:29 +02:00
Sebastian Hoogen
519d93fa4f
remove sourceforge git url
2015-07-19 20:27:04 +02:00
Sebastian Hoogen
c931bee01d
list multiple branches in version info
...
in case last commit is a octopus merge
2014-12-06 13:54:50 +01:00
Sebastian Hoogen
8a93916331
calculate the revision number from reference commit
2014-12-06 13:54:49 +01:00
Sebastian Hoogen
54cfed03ba
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
856418a2e5
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
a7b16c5748
0001349 recognize remote branches for Version.h in detached head state
2014-01-11 13:37:36 +01:00
wmayer
2828a91b7b
Fix a couple of dfsg issues, make git the default vcs
2012-06-21 12:25:53 +02:00
msocorcim
a9c15c0abc
fix parsing "git branch" response so currently checked out branch is returned
2012-05-10 07:31:11 -04:00
wmayer
4889495184
Show hash and branch name of Git repo in About dialog
2012-02-04 22:45:44 +01:00
wmayer
c20cfc5f7d
+ implement mechanism to extract version number from Git
2012-02-01 13:35:33 +01:00
wmayer
4015b7ff60
+ 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
908125ad94
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