-
-
Notifications
You must be signed in to change notification settings - Fork 111
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
Refactor package name to avoid conflicts #58
Comments
The package is pushed to PyPI as mkdocs-cinder. Do you need me to change it somewhere else? |
Yes, i need that you change To avoid this errors in Gentoo/Sabayon Linux:
Thank you for your fast reply. |
Do you manage either Gentoo package? The change would alter the way that users need to set the Cinder theme in their MkDocs yml files which will break every build that is currently out there. Is Gentoo using the PyPI version? If so is it possible to create a custom Gentoo package that uses the pathing that you need? We can add this information to the docs for Gentoo users if someone is willing to build and maintain it. |
Hi, i'm a Sabayon dev and Gentoo Proxy Maintainer dev and yes, my idea is push ebuild for cinder package to portage in the next days. In this way you can handle changes to code more easy between two branches and certainly in a better way of me. For example:
This only an idea that however require effort so free to choice your way. Tell me how you want move. Thanks |
Sure happy to create a new branch for this work. Will be back around to this project soon and will let you know. |
I am prepared to push this branch for you. Can you either let me know the exact source (including paths) changes that you need to support your release workflow or submit a pull request with these changes and I will push them to a |
Hi chrissimpkins, Can you bump then a release related to |
This is where I am confused because we are already doing this. The Python/PyPI package is named "mkdocs-cinder": Line 7 in 3278848
https://pypi.org/project/mkdocs-cinder/ There is a |
Problems are connected to cinder directory of the project. Currently, if you try to install ebuild of mkdocs-cinder without changes these are examples of installed files:
Directory So, for this conflicts there are two alternatives:
Now, if you said me that cinder it's only a directory with fonts, imagess, etc. and I could rename directory A solution could be move Main conflict file is this:
but i think that it's a bad idea share a python namespace between two projects. Is it possible change Thank you again very very much for your support |
Will need to check the MkDocs documentation to figure this issue out. As I recall, MkDocs specifies this naming for packages that are released through PyPI. I would not be prepared to eliminate PyPI releases to support this but I bet there is a workaround that will allow us to support both approaches. It may be possible to simply change the mkdocs specific metadata in the setup.py file so that we can preserve the use of |
I will try to do some tests. But I don't think that will be possible maintains settings file with |
Ready to do this anytime. Just poke me when you want to work on it. |
Hi, I confirm that you can maintain cinder name with very few changes about setup.py. In general if you change setup.py for use a different directory:
then you can rename cinder directory to mkdocs_cinder without impact to users. |
Thanks for the feedback! Your are able to build docs with cinder as the theme name when you use this pathing approach? site_name: [YOURPROJECT]
theme: cinder
nav:
- Home: index.md I will try to have a look at this during the upcoming week. |
Yes, as I wrote in the previous comment with that changes no impact for users. |
cinder
package name is used by Openstack Cinder module.Can you refactor package name to mkdocs-cinder or other name ?
So, users could be have at same time both packages.
Thanks in advance
The text was updated successfully, but these errors were encountered: