Skip to content
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

Fix the stackage backend regex #1010

Closed
Zlopez opened this issue Jan 20, 2021 · 6 comments · Fixed by #1030
Closed

Fix the stackage backend regex #1010

Zlopez opened this issue Jan 20, 2021 · 6 comments · Fixed by #1030

Comments

@Zlopez
Copy link
Contributor

Zlopez commented Jan 20, 2021

It looks like the www.stackage.org changed the page layout and it's adding @rev:X to the version string we are trying to much with regex in stackage backend.

The solution should be simple, just update the regex to:

<span class=\"version\"><a href=\"https://www.stackage.org/lts-[\d.]*/package/adjunctions\">([\d.]*).*</a></span>
@unnikrishnan2002
Copy link

Hey I would like to contribute to this project . I am a new to open source and want to learn about how to get started .Can someone help me please

@Zlopez
Copy link
Contributor Author

Zlopez commented Feb 18, 2021

@unni2002 Hi, if you want to help with this issue, it's just about changing the regex for validation in stackage.py.

I recommend to read https://anitya.readthedocs.io/en/latest/contributing.html to know how to test things and what to do when submitting PR.

Thanks for the interest in Anitya.

@unnikrishnan2002
Copy link

Hey @Zlopez actually I know Python and basics of Django , can you please help me and tell me what all skills are needed in addition . Sorry to say that , I am not able to understand more about the project that's why

Thanks
Unni Krishnan

@Zlopez
Copy link
Contributor Author

Zlopez commented Feb 18, 2021

The Anitya is using Flask as a web framework and SQLalchemy as database framework. Otherwise you should be fine with plain Python.

@unnikrishnan2002
Copy link

Hey @Zlopez I am not able to setup the project in my machine as I am having windows but the instructions are for fedora systems . What should I do ??

@Zlopez
Copy link
Contributor Author

Zlopez commented Feb 18, 2021

I don't use the Windows myself so I can't help you with that. I recommend to use WLS or setup VM machine or you can setup the python environment using the tools available on Windows.

@mergify mergify bot closed this as completed in #1030 Mar 4, 2021
mergify bot pushed a commit that referenced this issue Mar 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants