ofPackageManager: pre-release for osx testing

#1

Heyho,
I recently had some time to continue working on a package manager for oF.

I uploaded a pre-release version for testing. It currently works on osx only. Version 1.0.0 will then hopefully support windows and linux too.

Please note that the version of the project generator bundled with 0.10.1 does not support comments at the line endings. It is fixed in the most recent version.

Install it via brew:

brew tap thomasgeissl/tools
brew install ofpackagemanager
# brew upgrade ofpackagemanager
ofPackageManager config -g
cd path/to/test/project

# install addons locally via github user/repo
ofPackageManager install arturoc/ofxEasing
# install addons locally via url
ofPackageManager install https://github.com/npisanti/ofxPDSP.git
# install addons via database key
ofPackageManager install ofxMidi
# you can also install a specific version (hash or tag)
ofPackageManager install ofxMidi@1.1.1
# or install an addon globally
ofPackageManager install -g ofxMidi@1.1.1

# remove your local addons and reinstall them
rm -rf local_addons
ofPackageManager install

Please post feedback here or on the github issue tracker.

Thomas

4 Likes
Strategy for managing projects/sketches versions
#2

Heyho friends,

i have updated the database. More addons are now supported by their id.

If you have already installed the package manager then this should update the database: cd ~/.ofPackages && git pull

Feel free to add more addons and send PRs (ofPackages).

Thomas

1 Like
#3

in case it helps here’s a list generated from github. not sure if the format is the most useful but let me know if a different format might be better or some additional info would be useful, like branches or latest commit…

1 Like
#4

It would be very handy if you could provide me list with the following information:
user/repo, isFork, starCount, timeOfLastCommit, license (i hope github provides this info, otherwise probably too much work to figure out).
Comma separated or whitespace separated should be both fine.
Then i can automate creating the files based on some rules, e.g.:

  • isFork == 0
  • starCount >= 10
  • In case of naming conflicts i dont know if starCount or timeOfLastCommit is more important
#5

This is useful, thanks for putting time on writing this tool.

1 Like
#6

Thanks. Let me know if you find any bug. I will hopefully soon find some time to make it work on windows and linux.
It saved me already more time, getting old projects compiled again than it took me to write it.

#7

Heyho people,
i fixed a couple of bugs. Especially for installing addon dependencies. It shoudl now automatically install the dependency.
e.g. ofPackageManager install ofxHTTP

Feel free to upgrade: brew upgrade ofpackagemanager

And report issues or fork and fix them.
Thanks Thomas