paclets / PacletServer

A paclet server for Mathematica
https://paclets.github.io/PacletServer/
29 stars 8 forks source link

Register paclet: OptionsValidation #46

Closed jkuczm closed 5 years ago

jkuczm commented 5 years ago

Name: OptionsValidation Author: Jakub Kuczmarski Jakub.Kuczmarski@gmail.com URL: github-release:jkuczm/MathematicaOptionsValidation/latest

b3m2a1 commented 5 years ago

Merged: https://paclets.github.io/PacletServer/optionsvalidation.html

b3m2a1 commented 5 years ago

@jkuczm do you want me to update this with the new paclet extensions?

jkuczm commented 5 years ago

do you want me to update this with the new paclet extensions?

Yes, please.

I'd like it to be updated with each release.

I've re-read Updating Paclet instructions, but I'm not sure about some details.

Would setting "Update" to "DownloadAlways" make server check whether there's new release and automatically update? Would that be a huge drain of server resources? Or does every update require manual intervention from server maintainer?

b3m2a1 commented 5 years ago

Each build of the server requires I click a button locally. I'd like it if that weren't the case, but I haven't thought up a workable design that doesn't involve this. This also allows me to check what people are putting on the server to an extent.

What you can do is just ping me here and I'll get the emails and rebuild. If you expect to update the paclet more often than I build the server (once a week or so) then setting "Update" to "DownloadAlways" makes sense. If not it's a large addition to the build time.

Optimally I'd be notified every time you made a new release via some kind of webhook, but I don't really know how to do this with GitHub. If you have ideas feel free to submit them here.

jkuczm commented 5 years ago

It definitely won't be updated more often than once a week. So I'll just ping.

b3m2a1 commented 5 years ago

@jkuczm One other thing to be aware of is that the PublicPacletServer package actually supports this use case. You can do things like:

PublicPacletServer@"RequestPacletUpdate"["OptionsValidation"]

and it'll submit the request automatically.

Hopefully that will minimize the difficulty involved in pushing updates.

jkuczm commented 5 years ago

Thanks, I'll take a look at it.

b3m2a1 commented 5 years ago

I just thought up a way to automatically check for updates without breaking the time it takes me to build the serve. You only need to ping me if you want a build sooner than my basic schedule.

jkuczm commented 5 years ago

Great. I won't ping you unnecessarily then.