-
Notifications
You must be signed in to change notification settings - Fork 704
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
Print what cabal.project files get used (fixes #8519) #8617
Conversation
* Print what cabal.project files get used * Update testsuite
Thank you! We need to look into the test failures one by one, I guess.
I'll need to get to desktop to go over those but the first couple I saw are as follows.
|
I see some files have not been updated, e.g. PackageTests/Configure, which leads to Are you sure you |
However, as I expressed concern in #8519,
|
Indeed, all other failures come from absolute paths (recorded by |
Observation: The path doesn't normalize when it uses the root level git directory Suggestion: We can extend |
@pigsinablanket good catch! Sounds like a plausible explanation and a right way to fix it. Hope to see it fixed! |
@pigsinablanket please, feel free to let us know if there's any trouble with your plan! Maybe together we can find a solution. |
I am having some difficulty discovering the root path of the git directory. I noticed there was a |
@pigsinablanket looks like we're lacking the knowledge of this aspect of the test suite, and you may have discovered even more than we understand. Could you, please, post a little commentary of what you've tried so far with pointers to code related to this task (adding support for |
@pigsinablanket: ping? We'd like to help. :) |
@pigsinablanket another gentle ping. It'd be awesome to have it in 3.10, for which the window is rapidly closing, sadly… |
Dear all, may I suggest something silly but easier. Can we simply not record this output? I'm not knowledge in details of We can always open a ticket requesting a change along the lines described above ( |
@pigsinablanket wrote:
I guess we are talking about mismatches like https://github.com/haskell/cabal/actions/runs/3538370618/jobs/5939148567#step:18:3042 --- /home/runner/work/cabal/cabal/cabal-testsuite/PackageTests/ListBin/Script/cabal.dist/cabal.out.normalized 2022-11-24 07:21:05.997788646 +0000
+++ /home/runner/work/cabal/cabal/cabal-testsuite/PackageTests/ListBin/Script/cabal.dist/cabal.comp.out.normalized 2022-11-24 07:21:05.997788646 +0000
@@ -1,6 +1,6 @@
# cabal list-bin
This build is affected by the following project file(s):
-- /home/pigs/git/cabal/cabal.project
+- /home/runner/work/cabal/cabal/cabal.project |
I notice that with this PR we are getting informed about the project files even when doing
I suppose there could be repositories listed in these project files which get updated by But maybe the formulation should be more neutral, instead of
say something like
|
@pigsinablanket We'd like to offer our help with rebasing your PR. Would you accept it? :) |
No activity for a long time and superseded by #10507. Closing. |
Print what cabal.project files get used
Update testsuite
Please include the following checklist in your PR:
Please also shortly describe how you tested your change. Bonus points for added tests!