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

Rename description field of dependencies and add a default value. #27

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Zimmi48
Copy link
Member

@Zimmi48 Zimmi48 commented May 5, 2020

If the description field of a dependency is not provided, the description of the project itself was used instead. We avoid this by renaming the former field, and we default to using the opam name when
the description is not provided.

This avoids an issue reported by @gmalecha on Gitter (https://gitter.im/coq-community/Lobby?at=5eb0827b14b48f0698ac6a3d).

If the description field of a dependency is not provided, the
description of the project itself was used instead.  We avoid this by
renaming the former field, and we default to using the opam name when
the description is not provided.
@gmalecha
Copy link

gmalecha commented May 5, 2020

It would be nice if you didn't need to rename the field, but it should work this way.

@Zimmi48
Copy link
Member Author

Zimmi48 commented May 6, 2020

Yes, but I don't know how to avoid this.

@Zimmi48 Zimmi48 marked this pull request as draft May 23, 2020 13:54
@Zimmi48
Copy link
Member Author

Zimmi48 commented May 23, 2020

If we want to finish this, the documentation in ref.yml should be updated accordingly.

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