Skip to content

Add a page on cabal package metadata #65

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

michaelpj
Copy link
Collaborator

Some controversial bits in here, and some that rely on us getting agreement on the legal stuff. But putting this up as a draft anyway.

@michaelpj michaelpj requested a review from a user March 31, 2023 14:08
@michaelpj michaelpj force-pushed the mpj/cabal-metadata branch from 6a4ea3d to 0f0f614 Compare March 31, 2023 14:41
| `license-file` | Omit in favour of `license-files`. | | Apache 2.0 requires multiple license files. |
| `license-files` | Must include both `LICENSE` and `NOTICE`. | `LICENSE NOTICE` | See the [legal policy page](../../legal/index.html). |
| `copyright` | Omit. | | See the [legal policy page](../../legal/index.html). |
| `author` | Omit. | | Typically there is no clear single author of a package. |
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some of our packages have authors so they should be honoured, but it's ok to omit this field in most of our packages.

| `package-url` | Omit. | | Not relevant. |
| `synopsis` | No policy. | | |
| `description` | No policy. | | |
| `category` | Omit. | | This has never really caught on even in the Haskell OSS community. |
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it should be set for packages that are published on Hackage.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really? It seems to be rarely used even on Hackage.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, some examples:

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://hackage.haskell.org/packages/ shows quite a lot of categories indeed. I guess we can say optional 🤷

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.

2 participants