OfflineIMAP / offlineimap3

Read/sync your IMAP mailboxes (python3)
Other
451 stars 64 forks source link

Offlineimap config files not stored when installing via `pip` #156

Open chrysle opened 1 year ago

chrysle commented 1 year ago

In the documentation is stated that offlineimap stores a minimal config file below /usr/share. However when installing the program with pip (which naturally has no write access to these directories), this file is nowhere to be found on my system, except in my ~/.cache/ directory. This surely can't be intended?

General information

Configuration file offlineimaprc

REMOVE PRIVATE DATA.

pythonfile (if any)

REMOVE PRIVATE DATA.

Logs, error

REMOVE PRIVATE DATA.

Steps to reproduce the error

thekix commented 11 months ago

Hi @chrysle

currently, in pypi, there is only the offlineimap version for Python2. This version, offlineimap3, is Python3.

@spaetz could you help with the upload of offlineimap3 to pypi.org? I am not user how you did the uploads for Python2.

Regards, kix

spaetz commented 11 months ago

Hi, currently 'offlineimap' and me are listed as maintainers on pypi.org for offlineimap. I am more than happy to pass on that maintainership to the current maintainers. Other than than, I do not think I can be of much help.

thekix commented 11 months ago

Hi @spaetz

thanks a lot for your reply. @spaetz @nicolas33 who should be in the maintainers group?

To upload the package, are you using setuptools or how are you uploading it?

Cheers, kix

spaetz commented 11 months ago

I have not been uploading anything for a long time, and to be honest I have no idea how or what tools I had been using. Also, I think pypi has changed quite a few things since then in order to make uploads more secure. So, I won't be of much help in that regard, sorry. -- Sent from mobile device.

spaetz commented 11 months ago

Arguably, you want to retire the pip offlineimap package and create a new one named offlineimap3, as that is also the name you have been giving the distro packages? -- Sent from mobile device.

chrysle commented 11 months ago

I have not been uploading anything for a long time, and to be honest I have no idea how or what tools I had been using. Also, I think pypi has changed quite a few things since then in order to make uploads more secure.

I'd suggest you create a GitHub Actions Workflow that automatically uploads to PyPI whenever a release happens. See this guide for more information.

thekix commented 11 months ago

I have not been uploading anything for a long time, and to be honest I have no idea how or what tools I had been using. Also, I think pypi has changed quite a few things since then in order to make uploads more secure. So, I won't be of much help in that regard, sorry. -- Sent from mobile device.

Hi @spaetz

please, include me in the list of maintainers in pypi. I will try to upload a new version. I will use the link provided by @chrysle to do it.

About the offlineimap python2 packages, I am not sure about retire them. You did a great work and if they do not create problems, we should left them in pypi. What do you think?

Best regards, kix