Go Back   Cockos Incorporated Forums > REAPER Forums > ReaScript, JSFX, REAPER Plug-in Extensions, Developer Forum

Reply
 
Thread Tools Display Modes
Old 03-01-2016, 02:42 AM   #321
G-Sun
Human being with feelings
 
G-Sun's Avatar
 
Join Date: May 2010
Location: Norway
Posts: 7,318
Default

This extension with scripts is just awesome.

One question:
When I've imported all the stuff,
are they automatically added to Action list?
I can't seem to find them,
but when importing action it says it's already there.

Note: I ran the mpl clean scripts
__________________
Reaper x64, win 11
Composer, text-writer, producer
Bandcamp

Last edited by G-Sun; 03-01-2016 at 02:49 AM.
G-Sun is offline   Reply With Quote
Old 03-01-2016, 09:41 AM   #322
semiquaver
Human being with feelings
 
Join Date: Jun 2008
Posts: 4,923
Default

Mods please sticky this thread !!
semiquaver is offline   Reply With Quote
Old 03-01-2016, 09:48 AM   #323
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

G-sun, when you enable repo in "Manage repositories" window, all scripts should be added to action list.

What do you mean by "clean scripts"?
mpl is offline   Reply With Quote
Old 03-01-2016, 11:44 AM   #324
G-Sun
Human being with feelings
 
G-Sun's Avatar
 
Join Date: May 2010
Location: Norway
Posts: 7,318
Default

Quote:
Originally Posted by mpl View Post
G-sun, when you enable repo in "Manage repositories" window, all scripts should be added to action list.

What do you mean by "clean scripts"?
Hm.. strange

I ran "mpl_Delete non-existent scripts from Action List.lua"

When I eg. filter on mapping panel nothing shows up (main)
Then,
Reascript > new
navigate to it
double click
ah.. save as prompt
ok, should be "load"

But, still need to load one by one it seems.
__________________
Reaper x64, win 11
Composer, text-writer, producer
Bandcamp

Last edited by G-Sun; 03-01-2016 at 11:55 AM.
G-Sun is offline   Reply With Quote
Old 03-01-2016, 11:53 AM   #325
G-Sun
Human being with feelings
 
G-Sun's Avatar
 
Join Date: May 2010
Location: Norway
Posts: 7,318
Default

Uninstalled all the packs,
but..
how do I get them back?

Tried new Reapack, but, all gone ??
__________________
Reaper x64, win 11
Composer, text-writer, producer
Bandcamp
G-Sun is offline   Reply With Quote
Old 03-01-2016, 12:01 PM   #326
zoreille
Human being with feelings
 
zoreille's Avatar
 
Join Date: Oct 2014
Location: In hell
Posts: 11
Default HELP!!

hi,

help !!! i get this message error !!

please
Attached Images
File Type: jpg Sans titre.jpg (33.6 KB, 525 views)
__________________
Haaaaaan !!!!
zoreille is offline   Reply With Quote
Old 03-01-2016, 12:09 PM   #327
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

G-Sun, that is old script, it was done when we hadn`t action list related APIs, I just forgot to delete it from my repo.

mpl is offline   Reply With Quote
Old 03-01-2016, 12:16 PM   #328
G-Sun
Human being with feelings
 
G-Sun's Avatar
 
Join Date: May 2010
Location: Norway
Posts: 7,318
Default

Quote:
Originally Posted by mpl View Post
G-Sun, that is old script, it was done when we hadn`t action list related APIs, I just forgot to delete it from my repo.

Ok.
Thanks for the gif,
but when I uninstalled the entries in that list they disappeared..
__________________
Reaper x64, win 11
Composer, text-writer, producer
Bandcamp
G-Sun is offline   Reply With Quote
Old 03-01-2016, 12:28 PM   #329
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

G-Sun,
Quote:
when I uninstalled the entries in that list they disappeared
So what`s problem?

cfillion, I deleted "mpl_Delete non-existent scripts from Action List.lua", and now it is deleted from my github. I checked/indexed/commited to index. Now, is that possible to remove script when syncronising package (as deprecated)?
mpl is offline   Reply With Quote
Old 03-01-2016, 12:30 PM   #330
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 4,937
Default

@G-Sun
Are you using REAPER v5.12 or more recent? The scripts cannot be added in the action list with older REAPER versions.
Since you uninstalled the repositories, you can bring them back (resetting ReaPack to its default settings) by deleting "reapack.ini" from REAPER's resource directory.

@zoreille
You seem to have installed build7 which used a slightly different data format. Delete "registry.db" from <REAPER resource folder>/ReaPack and retry (this won't be necessary in the future).

Last edited by cfillion; 03-01-2016 at 09:37 PM.
cfillion is offline   Reply With Quote
Old 03-01-2016, 01:16 PM   #331
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 4,937
Default

@mpl I plan to do a "Cleanup packages" feature to list and remove installed obsolete packages.

While obsolete files are automatically deleted on syncronization (eg. a png picture that is not required anymore), whole packages are not:
I would not want a script I'm using everyday to suddendly disappear after an update.

---

For some reason "mpl_Delete non-existent scripts from Action List.lua" was not deleted from your repository's index, looking into that...
EDIT: Did you run reapack-index after creating the commit that removed the script?

@daxliniere Thanks for the feedback, I'll take some time to think about that.

Last edited by cfillion; 03-01-2016 at 09:37 PM.
cfillion is offline   Reply With Quote
Old 03-01-2016, 01:22 PM   #332
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

Thanks, seems now it is deleted. It was my error (maybe pack was indexed before sync in git app).
mpl is offline   Reply With Quote
Old 03-01-2016, 01:44 PM   #333
G-Sun
Human being with feelings
 
G-Sun's Avatar
 
Join Date: May 2010
Location: Norway
Posts: 7,318
Default

Quote:
Originally Posted by cfillion View Post
@G-Sun
Are you using REAPER v5.12 or more recent? The scripts cannot be added in the action list with older REAPER versions.
Since you uninstalled the repository, you can bring them back (resetting ReaPack to it's default settings) by deleting "reapack.ini" from REAPER's resource directory.
v5.15
Ok, that will do the trick I guess
Thanks!
__________________
Reaper x64, win 11
Composer, text-writer, producer
Bandcamp
G-Sun is offline   Reply With Quote
Old 03-01-2016, 02:58 PM   #334
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

@cfillion
I successfully use ReaPack on several OS/Computers already

There is ome thing I haven't tested like "what if a script is deleted or renamed" but it works so far.

What is the next step before we could start make the promotion of this great ReaPack tool ?
I can't wait to tell my scripts user to download ReaPack :P

--
Also, so JSFX folks are considering using the same header syntax for JSFX. Do you think it could work ?
X-Raym is offline   Reply With Quote
Old 03-01-2016, 03:07 PM   #335
mpl
Human being with feelings
 
mpl's Avatar
 
Join Date: Oct 2013
Location: Moscow, Russia
Posts: 3,960
Default

The only thing I found useful for end users is automation. I mean, for the first run ask user something like "Do you wanna add all scripts into Action List?". So user do not need to do additional clicks. Just install and work.

JSFX stuff with same technology (github based) would be great!
mpl is offline   Reply With Quote
Old 03-01-2016, 04:30 PM   #336
mccrabney
Human being with feelings
 
mccrabney's Avatar
 
Join Date: Aug 2015
Posts: 3,671
Default

hey guys, dumb question but i'm just catching up to this. i apologize if this has been asked already in this tthread.

what happens if i download a script by script author "CoolGuyX" and then edit/save it to my own specifications, and then the script is updated by the author? if i then update my script library, are my edits overwritten?

this feature is really cool, it reminds me of Bidule's cool Group repository.
mccrabney is online now   Reply With Quote
Old 03-01-2016, 05:55 PM   #337
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

@mccrabney
Before updatding the script, make a copy else where (and don't hesitate to rename).

Then, mod it to your needs.
X-Raym is offline   Reply With Quote
Old 03-01-2016, 06:09 PM   #338
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,581
Default

Quote:
Originally Posted by cfillion View Post
@daxliniere Thanks for the feedback, I'll take some time to think about that.
Mon plaisir.
I know I'm that guy who constantly makes more work for you guys, but if I have an idea to make something better, I must let it be known.


Quote:
Originally Posted by X-Raym View Post
What is the next step before we could start make the promotion of this great ReaPack tool ?
I can't wait to tell my scripts user to download ReaPack :P
Take a look at what I proposed in post# 321 (http://forum.cockos.com/showpost.php...&postcount=321).


Quote:
Originally Posted by mccrabney View Post
what happens if i download a script by script author "CoolGuyX" and then edit/save it to my own specifications, and then the script is updated by the author? if i then update my script library, are my edits overwritten?
My suggestion is to do what I do and add " (Dax)" to the end of the script title. That way you can use file comparison software to highlight exactly what code is different in the author's updated script.


Actually, this makes me think. @CFillion, if the 'user area' part of each script was standardised, then you could do some 'smart' updates whereby user settings were preserved.
(Edit: there would need to be a way to ignore/reset certain settings if they became obsolete or the scale or range changed.)
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]

Last edited by daxliniere; 03-01-2016 at 06:18 PM.
daxliniere is offline   Reply With Quote
Old 03-01-2016, 06:27 PM   #339
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

Quote:
Originally Posted by dax
I know I'm that guy who constantly makes more work for you guys, but if I have an idea to make something better, I must let it be known.
I have a total trust in cfillion who prove us release after release that
  • he knows what is possible
  • he knows how to make it possible (and make it)
  • have a nice sense of ergonomic (especially with last release, which is made simpler for scripter as well).
For me batch installing all scripts is way better than having to checkbox individual scripts. I mean there is about 500 scripts on all repos, so less click, less installation process that would stop creative flow, just download and make all accessible right away is for me the way to go.
The action filtering is still avaible from the Action list.

We are talking about less than 5Mo of data so data space is not a problem.
X-Raym is offline   Reply With Quote
Old 03-01-2016, 06:31 PM   #340
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,581
Default

Quote:
Originally Posted by X-Raym View Post
For me batch installing all scripts is way better than having to checkbox individual scripts. I mean there is about 500 scripts on all repos, so less clicks
Yes, there would be 'Select All' and 'Select None' buttons.

Quote:
Originally Posted by X-Raym View Post
We are talking about less than 5Mo of data so data space is not a problem.
I take your point. For me, I'm thinking of it from a perspective of not installing anything I don't want which potentially clutters the actions list.
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Old 03-02-2016, 03:48 AM   #341
G-Sun
Human being with feelings
 
G-Sun's Avatar
 
Join Date: May 2010
Location: Norway
Posts: 7,318
Default

Quote:
Originally Posted by mpl View Post

JSFX stuff with same technology (github based) would be great!
A really good idea
__________________
Reaper x64, win 11
Composer, text-writer, producer
Bandcamp
G-Sun is offline   Reply With Quote
Old 03-02-2016, 05:11 AM   #342
G-Sun
Human being with feelings
 
G-Sun's Avatar
 
Join Date: May 2010
Location: Norway
Posts: 7,318
Default

Quote:
Originally Posted by cfillion View Post
@G-Sun
Are you using REAPER v5.12 or more recent? The scripts cannot be added in the action list with older REAPER versions.
Since you uninstalled the repositories, you can bring them back (resetting ReaPack to its default settings) by deleting "reapack.ini" from REAPER's resource directory.
Worked excellent.
Now I see all the actions showing up as well.
Maybe I was just unlucky with some odd actions last time.
Thanks!
__________________
Reaper x64, win 11
Composer, text-writer, producer
Bandcamp
G-Sun is offline   Reply With Quote
Old 03-02-2016, 05:59 AM   #343
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 7,241
Default

what firewall rules need to be applied in order for ReaPack to work?

I've found these ip ranges in github https://help.github.com/articles/wha...uld-whitelist/

but it seems it is not working.
heda is offline   Reply With Quote
Old 03-02-2016, 06:02 AM   #344
daxliniere
Human being with feelings
 
daxliniere's Avatar
 
Join Date: Nov 2008
Location: London, UK
Posts: 2,581
Default

Good question, though I had no problems with it.
__________________
Puzzle Factory Sound Studios, London [Website] [Instagram]
[AMD 5800X, 32Gb RAM, Win10x64, NVidia GTX1080ti, UAD2-OCTO, FireFaceUCX, REAPER x64]
[Feature request: More details in Undo History]
daxliniere is offline   Reply With Quote
Old 03-02-2016, 03:13 PM   #345
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 4,937
Default

@heda

Minimum for GitHub-hosted repositories:But note that ReaPack may try to download files from any host/port if asked to do so by a package.

Last edited by cfillion; 03-02-2016 at 04:19 PM.
cfillion is offline   Reply With Quote
Old 03-03-2016, 11:08 AM   #346
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 7,241
Default

ah... if raw git.githubusercontent is usind a CDN , then the IP's will change and depend on the location etc... so it's not possible to define some specific IPs, because it will change depending on the location where you download.
ok thanks!
heda is offline   Reply With Quote
Old 03-03-2016, 12:39 PM   #347
cyrano
Human being with feelings
 
cyrano's Avatar
 
Join Date: Jun 2011
Location: Belgium
Posts: 5,246
Default

Quote:
Originally Posted by cfillion View Post
But note that ReaPack may try to download files from any host/port if asked to do so by a package.
Sounds like an open invitation to me...
__________________
In a time of deceit telling the truth is a revolutionary act.
George Orwell
cyrano is offline   Reply With Quote
Old 03-03-2016, 12:59 PM   #348
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 7,241
Default

Quote:
Originally Posted by cyrano View Post
Sounds like an open invitation to me...
I don't understand... like a security risk?
heda is offline   Reply With Quote
Old 03-10-2016, 05:08 AM   #349
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 7,241
Default

Finally I have a bit of time to sit down and create my github repo reapack compatible. I'm trying to install the reapack indexer. I've tried the windows installer beta2
I get this error "gem is not recognized as an internal or external command..."
Installation aborted.

What can I do? I've tried to install ruby manually first too and adding ruby executables to PATH

I'm a bit lost with the ruby thing.
heda is offline   Reply With Quote
Old 03-10-2016, 05:47 AM   #350
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 7,241
Default

Restarted the computer... not PATH seems to include ruby path... but still getting another error:
in the beta2 installer I have checked Rugged(libgit2) and Pandoc. Only unchecked Ruby for Windows.


Code:
Execute: gem install reapack-index
ERROR:  Error installing reapack-index:
	The 'rugged' native gem requires installed build tools.

Please update your PATH to include build tools or download the DevKit
from 'http://rubyinstaller.org/downloads' and follow the instructions
at 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit'

`gem install reapack-index` failed with exit code 1
Installation aborted.
heda is offline   Reply With Quote
Old 03-10-2016, 02:31 PM   #351
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 7,241
Default

I keep trying

installed DevKit
followed instructions
edited config.yml
executed ruby dk.rb install correctly
now I try to install reapack indexer

I think I can make a xml generator indexer with Lua in less time than installing this


Code:
Installing rugged/libgit2 with pre-built C extensions...
Execute: gem install rugged-0.24.0b12-x86-mingw32.gem
Installing reapack-index... (this can take a while)
Execute: gem install reapack-index
ERROR:  Error installing reapack-index:
	ERROR: Failed to build gem native extension.

    C:/Ruby22-x64/bin/ruby.exe -r ./siteconf20160310-460-poj9k7.rb extconf.rb
checking for gmake... no
checking for make... yes
checking for cmake... no
ERROR: CMake is required to build Rugged.
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
	--with-opt-dir
	--without-opt-dir
	--with-opt-include
	--without-opt-include=${opt-dir}/include
	--with-opt-lib
	--without-opt-lib=${opt-dir}/lib
	--with-make-prog
	--without-make-prog
	--srcdir=.
	--curdir
	--ruby=C:/Ruby22-x64/bin/$(RUBY_BASE_NAME)
	--use-system-libraries

extconf failed, exit code 1

Gem files will remain installed in C:/Ruby22-x64/lib/ruby/gems/2.2.0/gems/rugged-0.24.0 for inspection.
Results logged to C:/Ruby22-x64/lib/ruby/gems/2.2.0/extensions/
`gem install reapack-index` failed with exit code 1
Installation aborted.
heda is offline   Reply With Quote
Old 03-10-2016, 02:34 PM   #352
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 4,937
Default

What version of Windows are you using? I had no luck trying to reproduce these issues on Windows 10 and 8.
EDIT: Also, which ruby version have you installed and for what architecture?

Try installing pre-built rugged and reapack-index manually from a command prompt and report what it does:
  1. Download https://github.com/cfillion/reapack-...86-mingw32.gem
  2. Run `gem install Path\To\rugged-0.24.0b12-x86-mingw32.gem`
  3. Run `gem install reapack-index --pre`

No need for the DevKit.

Last edited by cfillion; 03-10-2016 at 09:18 PM.
cfillion is offline   Reply With Quote
Old 03-10-2016, 02:39 PM   #353
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 7,241
Default

win7 x64
ruby 2.2.4 x64

I was only able to install rugged after installing and configurind devkit...

manual attempt:
gem file copied to c:\temp
and this is the result:
Code:
C:\temp>gem install rugged-0.24.0b12-x86-mingw32.gem
Successfully installed rugged-0.24.0b12-x86-mingw32
Parsing documentation for rugged-0.24.0b12-x86-mingw32
Done installing documentation for rugged after 0 seconds
1 gem installed

C:\temp>gem install reapack-index
ERROR:  Could not find a valid gem 'reapack-index' (>= 0) in any repository
ERROR:  Possible alternatives: compact_index, epa_uv_index, repl_index, repackag
e, rack-noindex

C:\temp>
heda is offline   Reply With Quote
Old 03-10-2016, 02:41 PM   #354
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 4,937
Default

Sorry, I made a mistake in the last command, it should have been "gem install reapack-index --pre".

EDIT2: All right, I found what was causing the "The 'rugged' native gem requires installed build tools" error (from post #351).
Install Ruby 32-bit (remove the 64-bit version) and retry the beta2 installer: http://dl.bintray.com/oneclick/rubyi...ller-2.2.4.exe.

Last edited by cfillion; 03-10-2016 at 11:01 PM.
cfillion is offline   Reply With Quote
Old 03-10-2016, 03:14 PM   #355
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 7,241
Default

removed devkit and rubby x64.. installed rubby 2.2.4 and beta2 installed without errors now. but it seems the installer also executes gem install reapack-index (without the --pre) is it right?

edit: reapack-index --no-warnings
....
commit created

yay! it works

Thank you for your support cfillion
heda is offline   Reply With Quote
Old 03-10-2016, 09:37 PM   #356
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 4,937
Default

That's a display bug, as the installer actually runs `gem install reapack-index --version=1.0beta2` behind the scene. Fixed that along with support for 64-bit ruby in the upcoming beta3. Thanks!
cfillion is offline   Reply With Quote
Old 03-11-2016, 05:25 AM   #357
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

@cfillion
Hi !

Just a curious,
would it be possible to have some usage basic stats for repo/scripts ?

Like : how many download on that repo during this year etc... ? The level 0 would be "how many downloads since reapack 1.0".

I have absolutely no idea about how this could even be made, it is simple curiosity.

But I think it could be intersting in some ways.
X-Raym is offline   Reply With Quote
Old 03-11-2016, 05:59 AM   #358
heda
Human being with feelings
 
heda's Avatar
 
Join Date: Jun 2012
Location: Spain
Posts: 7,241
Default

I've found this

Getting the download count for your releases
https://help.github.com/articles/get...your-releases/
heda is offline   Reply With Quote
Old 03-11-2016, 06:40 AM   #359
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

Quote:
Originally Posted by GutHub Help
(...) to show legions of screaming fans how awesome your project is.
Exactly, that's what I'm talking about ! :P

About Releases - User Documentation
But this is good for ReaPack itself, not our repos.
X-Raym is offline   Reply With Quote
Old 03-11-2016, 09:31 AM   #360
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 9,875
Default

Other question, can we use GitHub altenrative like GitLab ? It has private repo in the free version contrary to GitHub :P
X-Raym is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:43 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.