Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Register paclet: OptionsValidation #46

Closed
jkuczm opened this issue Dec 27, 2018 · 9 comments
Closed

Register paclet: OptionsValidation #46

jkuczm opened this issue Dec 27, 2018 · 9 comments

Comments

@jkuczm
Copy link

jkuczm commented Dec 27, 2018

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

@b3m2a1
Copy link
Member

b3m2a1 commented Jan 5, 2019

@b3m2a1 b3m2a1 closed this as completed Jan 5, 2019
@b3m2a1
Copy link
Member

b3m2a1 commented Jan 15, 2019

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

@jkuczm
Copy link
Author

jkuczm commented Jan 16, 2019

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
Copy link
Member

b3m2a1 commented Jan 16, 2019

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
Copy link
Author

jkuczm commented Jan 16, 2019

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

@b3m2a1
Copy link
Member

b3m2a1 commented Jan 16, 2019

@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
Copy link
Author

jkuczm commented Jan 16, 2019

Thanks, I'll take a look at it.

@b3m2a1
Copy link
Member

b3m2a1 commented Jan 16, 2019

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
Copy link
Author

jkuczm commented Jan 16, 2019

Great. I won't ping you unnecessarily then.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants