vapoursynth / vsrepo

A simple package repository for VapourSynth
MIT License
113 stars 29 forks source link

Large overhaul #179

Closed RivenSkaye closed 8 months ago

RivenSkaye commented 2 years ago

This PR does a little more than what fits in a short title.

Specific to vsrupdate:

Specific to vsrepo:

RivenSkaye commented 2 years ago

Also adds rvsfunc to the package list

theChaosCoder commented 2 years ago

I made only a quick test with my bat files and noticed 2 things: (I have not looked at the code yet)

Here's a handy single package update bat

python vsrupdate.py compile
set /p plugin=plugin name:
python vsrupdate.py -p  %plugin%  update-local -o 
pause
RivenSkaye commented 2 years ago

I've updated the listed dependencies and categories in rvsfunc as per your suggestions, fixed a small oversight on my end that could cause conflicts uninstalling binary plugins and double checked everything. But I can't seem to be able to reproduce your problem about there being no win64 releases for any of them. Checked both colorbars and xvs, the name xvc doesn't seem to exist, so I guessed it was a typo

This is on a clean env by the way, I just upgraded to Python 3.10 and pushed my own vsrepo fork into the folder below C:/Program Files/Vapoursynth to test this

image image

myrsloik commented 2 years ago

Someone wants to write it in Python? Here I thought I could program C++ in Python all day long undisturbed.

theChaosCoder commented 2 years ago

I meant vsrupdate not vsrepo.

Delete the R3 entry in colorbars.json Then run python vsrupdate.py -p colorbars update-local -o You will get

R3 (new)
ColorBars R3 win32: 100%|█████████████████████████████████████████████████████████| 55.7k/55.7k [00:00<00:00, 2.71MB/s]
No win32 release found.
No win64 release found.

If you try it with the current master you'll get Release file updated

rvsfunc: the category must be Scripts not Script. vsrupdate.py compile has a check function build in :-)