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
get fedbadges in a good shape again #90
Comments
Nice start and good to hear that fedbadges is already on Python3. I went over the list and have the following to add/amend:
Just two examples of overlapping information / tickets. I would suggest to make it clear somehow, that issues should be reported in Pagure. There we can keep track of all issues in one place and delegate as needed: fedorabadges, tahrir, tahrir-api and badge configuration. I plan on using labels for that. While it's nice to have issues in GitHub for easy referencing, I believe the common consensus is to use Pagure for Fedora Apps. It would be nice if these two could be integrated somehow. E.g. label fedorabadges is assigned in Pagure will open ticket for fedorabadges on GitHub. But that is definitely a nice to have for the longer term. Once I get access to fedora-badges on Pagure, I will start working on open tickets and PRs. All of the above is, of course, still up for discussion with current maintainers and admins, should they show up. Just my $0.02 for now. |
@penguinpee Thank you for your comment Sandro. It seems like i made an early call when i told that "Fedbadges is ported on Python3". Actually it's not in a working state right now, and it needs a little bit polishment. |
IIRC, the devel branch is running on py3. |
Oh wait, I misread. The CI is running python 3.11 (or 3.8), so can you clarify what is not in a working state ? Are you speaking of the whole stack, or is the coverage gap on the tests ? |
I'm speaking of the whole stack. At a quick glance i could find: fedbadges/fedbadges/consumers.py Line 186 in b8191f8
lock() is not a callable here. Instead of this we should use https://docs.python.org/3/library/threading.html#threading.Lock.acquire
fedbadges/fedbadges/consumers.py Line 223 in b8191f8
_initialize_tahrir_connection() is undefined.
Line 24 in b8191f8
Credentials is not exported module of "gssapi". Effectively it's broken. Line 59 in b8191f8
Even though it works for now it doesn't mean always will. '\.' in strings are deprecated and considered as unsupported in python3. We should prefix the string by 'r'. see: https://bugs.python.org/issue27364 fedbadges/fedbadges/consumers.py Line 84 in b8191f8
As an individual contributor, how do I run that project on pair with fedbadges ? There is not even a single line of documentation about that. It also probably should be noted that this project is not even in staging environment yet. No body knows how to run it except few people. |
Yup, there is only the playbooks from Fedora. That's custom component for Fedora, so not surprised.
There is a staging instance for Fedora, so I am not sure to follow you. Or do you mean there a need for a different staging instance (eg, one with python 3) ? So I am kinda concerned that the CI didn't report those issues. Especially the one that should have failed (like the import one). |
Are you really suggesting that people should analyze the fedora-infra/ansible project in order to create a basic development environment for fedbadges ? You know there is a project called "podman-compose" and the another one "docker-compose" too. They are being used by thousands of projects for years to create basic dev environments.
By this project i mean "badgr-server".There is not even a single line of definition for badgr-server in fedora-infra/ansible repository. Trying to integrate some project (fedbadges) with something (badgr-server) abandoned 2 years ago on primary branch is more than weird to me. |
Even if the maintainer has no idea about the containerization, it could be achieved by writing a super simple Vagrantfile too like |
While I understand your frustration, I am not the one who wrote the project, I am just trying to keep it running, nothing more. As you discovered, there is indeed plenty of things to make it easier to contribute too, and that's in itself is a contribution. I forgot the badgr part. We had a GSoC to port the code to run with badgr, as that was more maintained and tahrir wasn't. However, since our effort to get patches upstream never succeeded, I start to think that this is not sustainable and a better path should be to keep the existing stack (because at least, we have no need to rebase). But I do not feel like I should decide that alone. But yes, the badgr part wasn't finished. |
I might be little misunderstood here. No word i said was personal at all. If i wasn't clear about that, so sorry 😞 . I just made all these points for future reference that's it. Of course i do know that you didn't write this project and you are trying your best to keep it going, and thank you for that 😄 Anyway, as i said, if we want to keep this project going with great stability on mind, i think we should make a lot of changes to it. But these are all my opinion. I would be glad to have you here while developing it to make it better 😄 |
Closing it since there is now an ongoing initiative to re-write fedbadges all together 😃 Most of the discussions takes place in: https://discussion.fedoraproject.org/search?q=%23badges-team |
This is a brief list of issues to be solved for making fedbadges operational again.
Immediate Action Required
Issues
Related:
Other
Needed Soon
This list is subject to change.
The text was updated successfully, but these errors were encountered: