Skip to content

generate-load-scripts case sensitivity #2547

Closed

Description

@TheAngryByrd

Description

generate-load-scripts has problems with casing. This doesn't really affect Windows or macOS since they don't care, but this really affects anything linux related.

paket exits with the error

Paket failed with
-> DirectoryNotFoundException: Could not find a part of the path "/app/packages/tests/Foq/lib/net45/Foq.dll".

Repro steps

https://github.com/TheAngryByrd/generate-load-scripts-casing-repro

Expected behavior

paket generates load scripts with correct casing in filepaths

Actual behavior

paket does not generate load scripts with correct casing in filepaths

Known workarounds

Use an insane OS like Windows or macOS :trollface:

Activity

  1. matthid commented on Jul 20, 2017

    @matthid
    Member

    Might be related to the fix of #2533

  2. forki commented on Jul 21, 2017

    @forki
    Member

    @TheAngryByrd are you sure it's still an issue?
    Is so can you please run it with -v?

  3. forki commented on Jul 21, 2017

    @forki
    Member

    image

  4. matthid commented on Jul 21, 2017

    @matthid
    Member

    repro works after converting build.sh to unix line feeds on windows...
    I usually use git bash and dos2unix build.sh for that.

    Problem is that windows git is checking out with windows crlf and if that gets added to the container it won't work.

  5. forki commented on Jul 21, 2017

    @forki
    Member

    nice repro!

  6. TheAngryByrd commented on Jul 21, 2017

    @TheAngryByrd
    ContributorAuthor

    🎸

  7. agross commented on Jul 28, 2017

    @agross
    Contributor

    Problem is that windows git is checking out with windows crlf

    Can be solved with .gitattributes:
    https://github.com/fsprojects/Paket/blob/master/completion/.gitattributes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions