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

WIP: Change to namespace package #2405

Closed

Conversation

kamil-certat
Copy link
Contributor

@kamil-certat kamil-certat commented Aug 31, 2023

  • version and constans moved to subpackages, so they can be safetly imported in __init__ without troubles caused by manipulation of the __path__.
  • Re-design code in the intelmq/__init__.py (in main and sup-package) to provide working backward-compatibility

TODO:

  • fix documentation,
  • test mixed solutions with native namespaces,
  • new lines,
  • refactors & __all__ to improve imports,
  • register CLI in extensions

sebkuf and others added 7 commits July 21, 2023 11:20
It should change the bots folder to a namespace package.
Now it should be easier to add new Bot.
I used pkgutil-style namespace packages.
It should change the bots folder to a namespace package.
Now it should be easier to add new Bot.
I used pkgutil-style namespace packages.

Implements certtools#2350
Fixed the 'intelmqctl list bots' funcionality, now it works for
namespaces. Added documentation how to add a new bot. Added changelog.
@kamil-certat
Copy link
Contributor Author

Replaced by #2413

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

Successfully merging this pull request may close these issues.

None yet

2 participants