#buildmachine — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #buildmachine, aggregated by home.social.
-
Update for pythonbuilder, my sane (😎) build system written in Python.
Yes, I use pythonbuilder to build Java projects. But to push and pull dependent libraries, I use what is there: Maven (yes😱). To publish a jar to your local repository in ~/.m2/repository, pythonbuilder just got some new functionality.
https://codeberg.org/harald/pythonbuilder
Feedback welcome.
#pythonbuilder
#buildmachine
#bashbuilder
#buildsystem
#buildtool
#softwaredevelopment
#programming -
Pythonbuilder update. Removes a feature described in the last post about #pythonbuilder. 🤦♀️ But we have new features which are hopefully better:😎
- Save build state of successfully created targets even if the build stops with an exception.
- Simplify state computation for Paths object. A Paths object is a bit like a combination of a Path + rglob.https://codeberg.org/harald/pythonbuilder
Feedback welcome.
#pythonbuilder
#buildmachine
#bashbuilder
#buildsystem
#buildtool
#softwaredevelopment
#programming -
A pythonbuilder update adds a technical feature hard to describe if you haven't used the software. I try anyway:
So far you could define that a file, using a much simplified example, Path("build/README.html") is a Target to be build by writing
Target(Path("build/README.html"), ...)
With the new feature, that first argument of Target may be a Callable.
https://codeberg.org/harald/pythonbuilder
#pythonbuilder
#buildmachine
#bashbuilder
#buildsystem
#buildtool
#softwaredevelopment
#programming -
Pythonbuilder update available.
A maintenance release with code cleanup. See the commits from v-2025-09-21 to v-2025-09-26: https://codeberg.org/harald/pythonbuilder/graph
The one publicly visible change should be that fields of the Target class got Final type hints as needed. This would show up for brave souls writing to these fields (nobody should) **and** using a type checker.😀
https://codeberg.org/harald/pythonbuilder
#pythonbuilder
#buildmachine
#bashbuilder
#buildsystem
#buildtool
#softwaredevelopment
#programming -
Pythonbuilder got some updates since Aug-21st.
- It is now a regular python package which should need less sys.path wrestling to use it.
- The Paths class, a Path combined with an iterator over contained files, can now be created with extensive file include/exclude and directory include/exclude regular expression patterns.https://docs.miamao.de/@main/pythonbuilder/pythonbuilder.pbutil.Paths.html#filtered
https://codeberg.org/harald/pythonbuilder
#pythonbuilder
#buildmachine
#bashbuilder
#buildsystem
#buildtool
#softwaredevelopment
#programming -
Pythonbuilder got some updates since Aug-17th
The function pbutil.main() provides a shallow wrapper around updateTargets() to parse, so far, two options out of a typical sys.argv, one to set the log level and one to force targets to be updated even if their state proves them as up-to-date. Quite practical for debugging the build process itself.
https://harald.codeberg.page/pythonbuilder/@main/apidoc/pbutil.html#main
https://codeberg.org/harald/pythonbuilder
#pythonbuilder
#buildmachine
#bashbuilder
#buildsystem
#buildtool
#softwaredevelopment
#programming -
Pythonbuilder got some updates since Aug-3rd.
- Targets which comprise of only a subset of the files in a directory can now be represented with a Paths object: https://harald.codeberg.page/pythonbuilder/@main/apidoc/pbutil.Paths.html
- Improved error handling to allow for sys.exit(1) in case of a build failure.
- Expert: a state=... function either have the Target object or the Target.item as its first parameter
https://codeberg.org/harald/pythonbuilder
#pythonbuilder
#buildmachine
#bashbuilder
#buildsystem
#buildtool
#softwaredevelopment
#programming -
The pythonbuilder got a few improvements. Apart from introducing ruff as a consistent python code formatter and for linting in addition to mypy, it got a new module pbpython.py which wraps
- ruff check
- ruff format
- mypycalls for easy use as target builders.
https://codeberg.org/harald/pythonbuilder
#pythonbuilder
#buildmachine
#bashbuilder
#buildsystem
#buildtool
#softwaredevelopment
#programming
#python
#ruff
#mypy -
Eat your own dog food, they say.
Which I did, using my currently preferred build system, pythonbuilder. And a small but very convenient helper function was added.
https://harald.codeberg.page/pythonbuilder/@main/apidoc/pbutil.html
home page: https://codeberg.org/harald/pythonbuilder
#pythonbuilder
#buildmachine
#bashbuilder
#buildsystem
#softwaredevelopment
#programming
#python
#make
#gradle
#ant
#blt
#cmake -
An update is available for pythonbuilder, a core build system written and specified in Python.
https://codeberg.org/harald/pythonbuilder
- simplified API to generate a targets state and to create it
- build functions to support Java buildsTutorial Example: https://codeberg.org/harald/pythonbuilder#example
#pythonbuilder
#buildmachine
#bashbuilder
#buildsystem
#softwaredevelopment
#programming
#python
#make
#gradle
#ant
#blt
#cmake -
An update is available for my pythonbuilder, the core build system written and specified in Python.
https://codeberg.org/harald/pythonbuilder
This improves logging with the default being less verbose as it adds a VERBOSE level which gives back the previous verbosity.
#pythonbuilder
#buildmachine
#bashbuilder
#buildsystem
#softwaredevelopment
#programming
#python
#make
#gradle
#ant
#blt
#cmake -
An update is available for my pythonbuilder, the core build system written and specified in Python.
https://codeberg.org/harald/pythonbuilder
The things to build, previously represented as just strings, are now arbitrary Python objects, which makes it in particular easier to use Python's modern Path in all places where file or directory references are needed.
#pythonbuilder #buildmachine #bashbuilder #buildsystem #softwaredevelopment #programming #python #make #gradle #ant #blt #cmake
-
1/2
My third implementation of the core of a build system: https://codeberg.org/harald/pythonbuilder
I contrast build system with script. While a script just runs all the commands according to the code you write, a build system has a means of determining whether a command really has to be run or can be skipped because the input has not changed, so no new output can be expected.
#pythonbuilder
#buildmachine
#bashbuilder
#buildsystem
#softwaredevelopment
#programming
#make
#gradle
#ant
#blt
#cmake