Skip to content

Best way to feed in timestamps? #2218

Answered by Tatskaari
IcedQuinn asked this question in Q&A
Discussion options

You must be logged in to vote

I don't know if this helps, but if you just want to rebuild a target to force Please to download it again, you can use the --rebuild flag. Perhaps you can just rebuild all the affected targets in your CI pipeline? I imagine locally it might be easy enough to do something similar when you notice it's out of date.

Unfortunately, there's no mechanism by which Please could tell if the remote file was changing if the URL doesn't include some sort of versioning information. We'd just have to re-download the file every time you depend on that target. That's not really something I'd want to have Please do.

Really for this to work nicely you need to have some sort of versioned URL. Having a task r…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@IcedQuinn
Comment options

Answer selected by IcedQuinn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants