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

Project description on PyPI is empty for all the plugins in this repo #211

Open
arslanashraf7 opened this issue Oct 18, 2023 · 2 comments
Open
Labels
bug Something isn't working

Comments

@arslanashraf7
Copy link
Contributor

While looking at the package history of edx-sysadmin on PyPI. I noticed that the description has gone missing for the latest package generated from the plugins repo. The older versions (i.e. edx-sysadmin v0.2.2) published through its independent repo has the description whereas the latest version doesn't.

Expected Behavior

All the packages generated through open-edx-plugins should have the package description on PyPI.

Current Behavior

Empty description on PyPI for all the packages generated through open-edx-plugins.

Steps to Reproduce

Just check any of our ol-openedx-* plugins/packages

Possible Solution

  • We should export README.rst files as part of the package bundle generated through the pants build system.
@arslanashraf7 arslanashraf7 added the bug Something isn't working label Oct 18, 2023
@pdpinch
Copy link
Member

pdpinch commented Oct 18, 2023

This seems important to me, but I don't know what effort is involved. Do we have existing README.rst files for each plugin now? Is it suitable for populating PyPI project descriptions? In my head, I think READMEs might be too long for a project description.

@arslanashraf7
Copy link
Contributor Author

This seems important to me, but I don't know what effort is involved.

This should not be very difficult thing, We need to tweak the BUILD (i.e. edx_sysadmin/BUILD) files in each repo to export the README.rst files along with the package bundle.

Do we have existing README.rst files for each plugin now?

Yes, Each plugin has its independent README file inside the repo i.e. edx_sysadmin/README.rst

Is it suitable for populating PyPI project descriptions?

That's debatable. I would say It's almost suitable or at least better than having no description. Almost all of these packages follow a unified format in the README that consists of the following sections e.g. ol_openedx_checkout_external/README.rst:

  1. Description
  2. Installation
  3. Configuration
  4. How to Use
  5. Sample Usage

In my head, I think READMEs might be too long for a project description.

I agree, But we should be able to decided based on above mentioned details.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants