GithubHelp home page GithubHelp logo

Addon dependency tool about mosaic HOT 8 CLOSED

d3cod3 avatar d3cod3 commented on May 21, 2024
Addon dependency tool

from mosaic.

Comments (8)

d3cod3 avatar d3cod3 commented on May 21, 2024 1

Yes, i was checking the script yesterday, works on linux ( ubuntu/debian, will test on others ) perfectly!

I like the submodule approach, i'm going to add a specific folder for scripts ( Mosaic/scripts/ ) then we can store there all scripts utils as submodules ( this one as others in the future )

With the addons.txt ( maybe could be better to use addonsDependencies.txt ? ) syncing, it is an universal tool for every OF application, i think it's a great contribution!

I'll wait for your repo with this addonTool ( suggestion names: ofxAddonChecker, ofxAddonTool, ofxAddonManager ) and when is ready i'll add the folder and the submodule inside.

from mosaic.

Daandelange avatar Daandelange commented on May 21, 2024

Ok, the initial repo is setup here.
https://github.com/Daandelange/ofxAddonTool
(Lots of changes under the hood, but features are not yet extended.)
It should run out of the box; do you want to install the submodule ? (otherwise I can make a PR)

from mosaic.

d3cod3 avatar d3cod3 commented on May 21, 2024

Already added as submodule!
Tested and running fine, just one small issue, in the readme in Installation:

you have brew install figment

but it must be brew install figlet

figment is throwing an error: No formulae found in taps

from mosaic.

d3cod3 avatar d3cod3 commented on May 21, 2024

Just tested on MSYS2 ( windows ), it works but do not visualize right

Sin título

Probably because it needs figlet or toilet, but pacman -Syu figlet toilet doesn't find the packages.

from mosaic.

Daandelange avatar Daandelange commented on May 21, 2024

Thanks for testing !

No, figlet or toilet are 100% optional, weirdly an error is displayed, but the fallback works. (Project: Mosaic instead of ASCII banner Mosaic, nothing more).
On Unix systems, I redirect the output of the commands to /dev/null to hide errors, I think this doesn't work on M$ systems...

Regarding the broken table columns, it looks like the latest changes that adapt the column width to the terminal width broke it, needing the bc command to floor float calculations. From what I understand, bc is part of GNU, not bash, and there are different bash environments on Windows, GitBash being very minimal (are you using this?). bc could be installed, but awk which seems more universal, could you try this ? Daandelange/ofxAddonTool@5286e9b
Edit: Newer commits available, everything in your screenshot should be fixed now.

from mosaic.

d3cod3 avatar d3cod3 commented on May 21, 2024

Yes, your commit fixed the issue on MSYS2, great!

Before trying it, i've installed bc:

pacman -Syu bc

and it solved the issue

Sin título

But it's probably better to use awk, less instructions for the users

from mosaic.

Daandelange avatar Daandelange commented on May 21, 2024

Ok, great. Did the "figlet/toilet command not found" messages go away too ?
There also seems to be a bug when addons are on a detached head.... there's a possible fix in new commit.

from mosaic.

Daandelange avatar Daandelange commented on May 21, 2024

Closing this, as it seems to be working. For further issues we can always open issues in the submodule repo :)

from mosaic.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.