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

Profanity filter for package names #998

Open
ken-matsui opened this issue Oct 2, 2024 · 3 comments
Open

Profanity filter for package names #998

ken-matsui opened this issue Oct 2, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@ken-matsui
Copy link
Member

Can we somehow block bad words for package names? We need this feature in the server as well and this can be implemented here:

https://github.com/poac-dev/poac/blob/6e5cdda4c82f3b8a7607891ab0293abbe63d46a2/src/Manifest.cc#L202-L242

@ken-matsui ken-matsui added the enhancement New feature or request label Oct 2, 2024
@ken-matsui
Copy link
Member Author

@ken-matsui ken-matsui changed the title Block bad words for package names Profanity filter for package names Nov 14, 2024
@dario-loi
Copy link

Is there a way to integrate rust packages with the codebase or was:

https://github.com/finnbear/rustrict

Quoted just as an inspiration?

Would introducing https://github.com/aardvarkk/cppure as a dependency be ok?

@ken-matsui
Copy link
Member Author

I should've mentioned this earlier, but this is for when we implement our custom registry and a publish command. Let's revisit then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants