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

Dh sequencer #2

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Dh sequencer #2

wants to merge 3 commits into from

Conversation

lechner
Copy link

@lechner lechner commented Apr 11, 2022

For common review.

Not tested and most likely not working.

@@ -99,7 +99,7 @@ newSourceDebDescription =
, _homepage = Nothing
, _vcsFields = Set.empty
, _xFields = Set.empty
, _xDescription = Nothing -- Quick hack, I should maybe put this into _xFields
, _description = Nothing -- Quick hack, I should maybe put this into _xFields
Copy link
Owner

Choose a reason for hiding this comment

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

David's comment could probably be deleted too

Copy link
Author

Choose a reason for hiding this comment

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

Yes, I agree. I was not sure, however, what the relationship is with _xFields here (and with similarly named symbols elsewhere). Are more refactorings needed?

Copy link
Owner

Choose a reason for hiding this comment

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

No, I think the only problem left to resolve is that you've introduced a naming clash in the re-exports of Debian.Debianize

Copy link
Author

Choose a reason for hiding this comment

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

Would it be acceptable to qualify the imports with S and B, as they are in Tests.hs?

@@ -42,7 +42,7 @@ main = performDebianization customize

-- Add dependencies to the binary debs.
(debInfo . binaryDebDescription (BinPkgName "cabal-debian") . relations . depends) %=
(++ (rels "apt-file, debian-policy, debhelper, haskell-devscripts (>= 0.8.19)"))
(++ (rels "apt-file, debian-policy, dh-sequence-haskell, haskell-devscripts (>= 0.16.8)"))
Copy link
Owner

Choose a reason for hiding this comment

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

What are the impediments to not doing as the commit message says?

Copy link
Author

Choose a reason for hiding this comment

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

Probably none—except I am not sure how to pull the desired compat value from Policy.hs.

Copy link
Author

Choose a reason for hiding this comment

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

Hi, does this file (in ./debian) describe cabal-debian or the target being debianized?

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