-
Notifications
You must be signed in to change notification settings - Fork 711
Update mtime on repo index file even if up to date #4950
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
Conversation
Haven't reviewed in detail, but this looks similar to #4578. Have you looked at that PR and the accompanying discussion? |
Yes I did have a look on #4578. Approach in that issue was to use mtime of timestamp files instead of index files. But actually you have pointed out it works only for secure remote repos. Approach taken in this issue is like follows. |
Awesome, I'll try to test this today or tomorrow. |
I tested this and it seems to work. |
Merged, thanks! |
Merged manually, see f05615c. |
GHC-7.10.3 (
Please, be very careful with manual merges. Also https://travis-ci.org/haskell/cabal/jobs/315016658 (build/job of this PR) shows this failure. Ping @23Skidoo |
Ugh, I suspected that this would be the case. Will fix. edit: See #4962. |
BTW, it looks like we should apply the same fix to |
See haskell#4950 (comment) for context.
Yes, I can have a look on Thursday / Friday. Looking into travis-install.sh does not reveal anything strange to me as the cabal-2.0.0.0 is installed in all environments. The fact that same cabal chooses different version of directory, looks to me like some kind of problem. Is this normal behavior? |
@psiska GHC 7.10 comes with |
See haskell#4950 (comment) for context.
See haskell#4950 (comment) for context.
Resolves: #4444
Please include the following checklist in your PR:
[ci skip]
is used to avoid triggering the build bots.Please also shortly describe how you tested your change. Bonus points for added tests!