-
-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to implement this ? #41
Comments
Nice @feydreva , first step is add as comaintaner the user Then, submit a pull request and create a file over
|
Hello, |
Thanks, let's run the pipeline for the PR #42 |
Hello, |
True,
We can switch to regex instead of xml parser. |
https://github.com/arch4edu/aur-auto-update/actions/runs/8306337444/job/22734274209
This workflow is failing. Fixing now. |
In https://github.com/arch4edu/aur-auto-update/actions/runs/8308392492/job/22738576498
Please check the parsed version. When the version is correct, please set |
hmm trying to make a new config file, but do not succeed to make it work :/ |
No worries, if you have some progress, we could take a look. |
There is another problem. The page is hosted on cloudfront and could not be accessed from some country/region.
regex will work here. nvchecker:
source: "regex"
url: "https://www.winamax.fr/jouer-au-poker?dl=1&platform=linux"
regex: 'winamax-([\d.]+).deb' |
A workaround could be creating a proxy to access the content. The following is an example to do it with Cloudflare Worker (generated by GPT). You can also try other cloud function services. export default {
async fetch(request, env, ctx) {
const url = "https://www.winamax.fr/jouer-au-poker?dl=1&platform=linux";
const regex = /winamax-([\d.]+).deb/;
try {
const response = await fetch(url);
const text = await response.text();
const match = text.match(regex);
if (match && match[1]) {
return new Response(match[1]);
} else {
return new Response("No match found");
}
} catch (error) {
return new Response("Error: " + error);
}
},
}; |
Hello,
I am really interested in this.
I maintain an AUR package.
I got nvcheker working, so I get a notification when a new version is there.
But I need to manually update the PKGBUILD and manually git push to aur.
I would love to have a bot doing version update automatically, but reading this, I don't understand how to implement it.
Could you guide me with more instruction ?
Thank you
The text was updated successfully, but these errors were encountered: