Comments (5)
do you need the commit hash? the bundle name includes the revision number, you could just query that
from freecad-bundle.
do you need the commit hash? the bundle name includes the revision number, you could just query that
Hey Adrián,
I'm using the rev number, but the thing is, the freecad_version.txt file gets updated hours before the new build.
See for example now, we are already in 37086:
rev_number: 37086 (Git)
branch_name: main
commit_date: 2024/05/02 06:09:39
commit_hash: 368b91e0358dafbf17bf0c133dbff00343fd3422
remote_url: https://github.com/FreeCAD/FreeCAD main
and the latest build has the rev 37083, for example: FreeCAD_weekly-builds-37083-conda-Linux-x86_64-py311.AppImage]
So either sync the freecad_version.txt with the build time or have a new file with the latest revision that has a build.
from freecad-bundle.
you'll notice there is a source package along side the binary builds, freecad_version.txt has information about the source package not the binary builds. The source package is updated very frequently while the binaries are updated normally twice a week.
My question is, why do you need to parse a txt? why not just use the revision number form the file name?
from freecad-bundle.
are you aware of github's API? for example you could parse https://api.github.com/repos/FreeCAD/FreeCAD-Bundle/releases/tags/weekly-builds to get the available revision number
from freecad-bundle.
are you aware of github's API? for example you could parse https://api.github.com/repos/FreeCAD/FreeCAD-Bundle/releases/tags/weekly-builds to get the available revision number
Ahh no I didnt, this is awesome. Thanks!
from freecad-bundle.
Related Issues (20)
- [Bug] On Sketcher Workbench, the tools Polyline and B-spline are not disabled when pressing esc key. HOT 4
- 0.22.0dev error DirectWrite: CreateFontFaceFromHDC() failed HOT 1
- Assembly4 > mirroed object > techdraw plot >>> bad mirror on page HOT 1
- Assembly4>Animator>Save complains OpenCV not installed - actual problem is pillow HOT 2
- Material workbench content is missing in recent Windows weekly builds HOT 3
- Cannot create a projection HOT 2
- Weekly build macOS ARM - Replace uses of missing font family "Courier" HOT 4
- PolarPattern cannot be applied to Additive Helix HOT 2
- Cannot open my files anymore HOT 7
- External geometry is not removed HOT 1
- Development Version FreeCAD_weekly-builds-36391-2024-03-11-conda-Windows-x86_64-py310.7z Problems When Rows Deleted in Spreadsheet HOT 6
- Can't run in Arch Linux - Appimage - FreeCAD_weekly-builds-36480-2024-03-18-conda-Linux-x86_64-py311.AppImage HOT 2
- Windows 11 Threat blocked: FreeCAD_weekly-builds-36596-2024-03-25-conda-Windows-x86_64-py311.7z HOT 6
- [Linux] Weekly-builds issue 2024.04.23: xkbcommon: ERROR: failed to add default include path /home/runner/work/FreeCAD-Bundle/FreeCAD-Bundle/conda/linux/AppDir/usr/share/X11/xkb HOT 8
- AppImage run from WSL2 crashes while using View Section HOT 1
- Assembly4 stopped working on recent daily updates 'QtCore' is not defined HOT 1
- Sketcher constraint cannot be deleted or selected HOT 1
- When opening IGS file directly from folder object is of screen
- FreeCAD breaks Python HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freecad-bundle.