Comments (6)
I agree that this totally makes sense, but the amount of commits which would each require a patch-level increase of the version number would have to be done somewhat automagically. If I were to upload binary versions which I would have to compile first before uploading, this would not be too difficult because I could use preprocessor directives.
If you come up with a (shell) script that would change the patch level automatically when I do a git push, then this could be a solution. Otherwise I know I'll be too lazy to think about this everytime I make a push...
from bsb-lan.
Could GitHub actions not do this for you?
from bsb-lan.
I don't know. I work with VS Code, if you point me to a resource which explains how (and what) needs to be done, I can try to implement it. The limited time for this project does not allow me to do all the research myself for functions that are not essential (to me ;) ).
from bsb-lan.
I have the same thing. Just want to do the essential. The first custom component just worked fine for me and also for Holger (another homey) to some point. Than it broke with the next version. Than I just wanted to do a bit more proper version. Before I know I was writing native integration that needs proper versioning :(
Maybe with a make file. I use it to upload a version to pypi.org
found something in this article. Just scanned it quickly
https://learn.sparkfun.com/tutorials/efficient-arduino-programming-with-arduino-cli-and-visual-studio-code/all
But I am not sure what exactly you do want to script. Everytime you do a push you want to automatically update the version?
I am stacking pushes till I have a proper working version and than make a version with all the changes and fixes. Maybe you can have a dev branch and merge it once in a while and create a version. The dev branch if for the developers who want to test out some new stuff or new device and master with versions is for the users who are already satisfied ? So this would update less regular.
from bsb-lan.
Yes, I would like to update the patch level version to increase by one each time I push. Often times I push the _defs.h when a new parameter is decoded by a user or if I fix a bug somewhere. I could go down the road of using a dev branch, but still the versioning would apply to that one as well. Haven't really worked with make files yet, so I guess that would be a good reason to do so. Will have a look at the link, thanks.
from bsb-lan.
Thanks for the link again, I found a way to do so not every time I push, but every time I build but that's fine as well. Will be coming with the next push.
from bsb-lan.
Related Issues (20)
- [FEATURE REQUEST] Modifying the graph to allow the long-term data logging HOT 166
- [BUG] Arduino Due does not respond shortly after start HOT 3
- [BUG] ESP32 resets in a loop by watchdog HOT 2
- [BUG] Just FYI because for old version: lines 2505 and 2504 in cmdtbl are mixed up HOT 3
- [BUG]? averages use even param numbers only HOT 1
- 'esp32_save_energy' was not declared in this scope [BUG]
- [BUG] Crash on opening sensor page (Guru Meditation Error: Core 1 panic'ed) HOT 30
- won't compile esp32_save_energy HOT 8
- [BUG] WiFi problems on OpenWrt HOT 14
- [BUG] brute-force.pl script does not query the right HEX code HOT 3
- [BUG] No readable EEPROM address for option 62 during boot log HOT 25
- [BUG] Web-UI does not show any parameters other than "0 .. 4" HOT 4
- [BUG] v3.1.17 (3.2?) causes many timeouts for web-requests/url-commands HOT 16
- [QUESTION] Removing Led HOT 1
- [FEATURE REQUEST] Is possible to add more than 20 parameters to log_parameters? HOT 1
- [BUG] Can't get ESP32 Olimex EVB to connect to wifi HOT 5
- [DOCUMENTATION REQUEST] HOT 1
- [BUG] Heat/DHW valve position help HOT 3
- [FEATURE REQUEST] Sending more than 40 register values to MQTT ? HOT 1
- [BUG] compile error HOT 4
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 bsb-lan.