Old 04-03-2019, 11:20 AM   #761
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 2,659
Default

It needs to be separate commits because the download URLs must have the commit that last changed the script to allow downloading any indexed version. Then the index must also be committed to be released. The index can be hosted outside of the repository, in another repository or a secondary branch though.
cfillion is offline   Reply With Quote
Old 04-03-2019, 11:42 AM   #762
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 8,720
Default

Got it, thanks.
nofish is offline   Reply With Quote
Old 04-30-2019, 11:51 PM   #763
mschnell
Human being with feelings
 
mschnell's Avatar
 
Join Date: Jun 2013
Location: Krefeld, Germany
Posts: 7,003
Default CSI

Hi cfillion,
Maybe you might want to comment on and help with this -> https://forum.cockos.com/showthread....3&page=72#2850
Thanks,
-Michael
__________________
www.boa-sorte.de
mschnell is online now   Reply With Quote
Old 05-08-2019, 04:36 AM   #764
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 2,528
Default

I got this strange error message after uploading new versions of a few scripts to ReaTeam GitHub:
Quote:
Done: Job Cancelled

This job was cancelled because the "Auto Cancellation" feature is currently enabled, and a more recent build (#2105) for branch master came in while this job was waiting to be processed.
juliansader is offline   Reply With Quote
Old 05-08-2019, 05:29 AM   #765
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 2,659
Default

I highly recommend using https://reapack.com/upload instead of writing the metadata and pushing commits directly on GitHub now.

"Auto Cancellation" aborts pending jobs when a newer commit is pushed before they're done to save time. The build for the latest commit failed because of:

Code:
1) MIDI Editor/js_Mouse editing - Arch and Tilt.lua failed:
  file not found 'js_Mouse editing - Arch and tilt.cur'
2) MIDI Editor/js_Panic - Stop all keystroke intercepts by scripts.lua failed:
  missing tag 'version'

Last edited by cfillion; 05-08-2019 at 06:03 AM.
cfillion is offline   Reply With Quote
Old 05-08-2019, 06:15 AM   #766
juliansader
Human being with feelings
 
Join Date: Jul 2009
Posts: 2,528
Default

Quote:
Originally Posted by cfillion View Post
2) MIDI Editor/js_Panic - Stop all keystroke intercepts by scripts.lua failed:
missing tag 'version'
Ugh, how stupid of me. Everything's now fine.
juliansader is offline   Reply With Quote
Old 05-14-2019, 06:46 AM   #767
romeo_despres
Human being with feelings
 
Join Date: Jan 2019
Posts: 20
Default

Hi,

Since I installed ReaPack, the auto-generated ReaScript API documentation says some new functions are available (e.g. ReaPack_AboutInstalledPackage), including for Python.

Yet I can't find how to import those functions and use them in actual Python ReaScripts. The only way I've found so far is to write myself a CFUNCTYPE wrapper around the C function available in reaper_python._ft['ReaPack_AboutInstalledPackage']... Am I missing something?

(Note: I have asked this question on a dedicated thread, but I copy it here to draw attention from competent people Maybe it's better to reply there for anyone having the same problem in the future)
romeo_despres is offline   Reply With Quote
Old 05-16-2019, 11:24 AM   #768
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 2,659
Default

Quote:
Originally Posted by romeo_despres View Post
The only way I've found so far is to write myself a CFUNCTYPE wrapper around the C function available in reaper_python._ft['ReaPack_AboutInstalledPackage']...
That's the correct way to use extension-provided API functions in Python ReaScripts.
cfillion is offline   Reply With Quote
Old 05-17-2019, 12:31 AM   #769
romeo_despres
Human being with feelings
 
Join Date: Jan 2019
Posts: 20
Default

Ok thanks! I guess I was looking for something pre-made like sws did with their "sws_python.py".
romeo_despres is offline   Reply With Quote
Old 05-17-2019, 07:31 AM   #770
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 1,123
Default

Under which license does ReaPack live?
And is it ok, if I add it to the installation-package of our Ultraschall-Podcast extension?
I want to integrate ReaPack in a way, that new users can download updates of Ultraschall without having to install ReaPack first by hand, as many of our users are not familiar enough with that.

And some other things, how difficult would it be to add an action, that allows automatic-closing of the dialogs? I would love to build an installer for our updater, and would love to put e.g. the "new extension installed"-dialog into it so the UI stays consistent.
I could do this via a hack using Julian's extension, but would want to avoid that.

And, is there a way to get somehow the errors happening, the last time ReaPack has synchronized? Would love to be able to deal with errors happening.
__________________
Ultraschall-API - a Lua-functions-library4Reaper: https://forum.cockos.com/showthread....98#post2067798
Reaper Internals - Developerdocs4Reaper: https://forum.cockos.com/showthread.php?t=207635
mespotine is offline   Reply With Quote
Old 05-24-2019, 09:26 AM   #771
DaveKeehl
Human being with feelings
 
DaveKeehl's Avatar
 
Join Date: Nov 2015
Location: Switzerland
Posts: 1,748
Default

Hi, I just started doing some scripts in lua for reaper and I wanted to know how I can add my own github repo to be used inside ReaPack. Can someone help me?

This is my repo: https://github.com/DaveKeehl/ReaScripts
DaveKeehl is offline   Reply With Quote
Old Today, 10:51 AM   #772
mespotine
Human being with feelings
 
mespotine's Avatar
 
Join Date: May 2017
Location: Leipzig, Germany
Posts: 1,123
Default

Cfillion posted useful links in his answer to my same question.
You can find it at: https://forum.cockos.com/showpost.ph...&postcount=724

The third answered question.
__________________
Ultraschall-API - a Lua-functions-library4Reaper: https://forum.cockos.com/showthread....98#post2067798
Reaper Internals - Developerdocs4Reaper: https://forum.cockos.com/showthread.php?t=207635
mespotine 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 10:14 PM.


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