Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ANIMartRIX usermod #3222

Closed
wants to merge 7 commits into from
Closed

Add ANIMartRIX usermod #3222

wants to merge 7 commits into from

Conversation

netmindz
Copy link
Member

New usermod that makes the ANIMartRIX effects available to WLED

@blazoncek
Copy link
Collaborator

Where do you get <ANIMartRIX.h> from?
It is not included with source files.

I've seen in your repo that you include your custom lib_deps, perhaps adding that info to readme.md would be good.

@netmindz
Copy link
Member Author

I wasn't sure what the normal practice was AC and deps of usermods? I didn't just want to slam in a dep into all builds. I don't know of a way of adding lib_deps based on the USERMOD_ANIMARTRIX flag

@netmindz
Copy link
Member Author

Readme updated

@blazoncek
Copy link
Collaborator

My recommendation would be to include all dependencies in usermod folder if all of the files are mature (if all files are under your control).
If, on the other hand, you consider Animartrix.h to be WIP then using lib_deps is a viable choice. Though I would avoid using commit ID.

@netmindz
Copy link
Member Author

The refactor to make it an OO library is a work in progress, so no version release tags not finalised API, so to ensure consistent builds, best practice to lock to a given revision, not just to a WIP branch

@netmindz
Copy link
Member Author

Updated to have speed control too

@netmindz
Copy link
Member Author

The commit Id is listed so that we get repeatable builds @blazoncek

@blazoncek
Copy link
Collaborator

The commit Id is listed so that we get repeatable builds @blazoncek

I'm sorry, but I do not understand.

One more thing. Can you re-base this for 0_15 branch?

@netmindz
Copy link
Member Author

The commit Id is listed so that we get repeatable builds @blazoncek

I'm sorry, but I do not understand.

One more thing. Can you re-base this for 0_15 branch?

When defining any library dependencies in platformio it's always best to point at a specific release tag, rather than head of master/main as otherwise suddenly your own builds can start failing if some breaking change is pushed or it works for some folk, but not others as they have pulled different versions.

As I haven't created a release as my branch is actually a PR back to the main repo, I'm depending on a specific commit to provide the same level of build stability/repeatability

As for 0_15, yeah I can create a fresh PR based off that if you like.

Is there anything else that needs to be addressed or are you otherwise happy with this code?

@blazoncek
Copy link
Collaborator

Thank you. If you consider it finished then I'm ok with it.
You can just pull 0_15 into your branch, push and then update target of this PR. No need to reopen new PR.

@netmindz
Copy link
Member Author

Specifically 0_15 or just pull in updates on dev?

@blazoncek
Copy link
Collaborator

0_15 from Aircoookie repo. It is most recent with updates from a few seconds ago.

@netmindz netmindz closed this Jan 11, 2024
@netmindz netmindz deleted the animartrix branch January 11, 2024 20:24
@netmindz netmindz mentioned this pull request Jan 11, 2024
@netmindz
Copy link
Member Author

New PR created for fresh branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants