Skip to content

Create paket.targets for VS integration #130

Closed

Description

Activity

  1. forki commented on Sep 20, 2014

    @forki
    MemberAuthor

    @vasily-kirichenko @agross @ilkerde @ovatsus

    This is what I did:

    • Create new folder .paket
    • Putting paket.bootstrapper.exe into this folder
    • Modified nuget.targets to match paket.target
    • Added Import statement to fsproj files

    When you open VS and perform a fresh build it will:

    • use bootstrapper to download paket.exe
    • download all packages
    • build just fine

    It seems to work. Next step would be to add this to paket convert-from-nuget - @theimowski can you help here?

  2. forki commented on Sep 20, 2014

    @forki
    MemberAuthor

    disco

  3. theimowski commented on Sep 20, 2014

    @theimowski
    Member

    sure, so after convert-from-nuget one would have a ".paket" dir with paket.targets and paket.bootstapper + import targets entry into every project file? What about making the ".paket" dir a solution folder?

  4. forki commented on Sep 20, 2014

    @forki
    MemberAuthor

    that's what I think we should do.

    2014-09-20 14:52 GMT+02:00 Tomasz Heimowski [email protected]:

    sure, so after convert-from-nuget one would have a ".paket" dir with
    paket.targets and paket.bootstapper + import targets entry into every
    project file? What about making the ".paket" dir a solution folder?

    —
    Reply to this email directly or view it on GitHub
    #130 (comment).

  5. theimowski commented on Sep 20, 2014

    @theimowski
    Member

    and where do we take these from? download bootstraper from github releases? how about targets file?

  6. ilkerde commented on Sep 20, 2014

    @ilkerde

    Umm

  7. forki commented on Sep 20, 2014

    @forki
    MemberAuthor

    maybe we should also add .paket/paket.exe to gitignore if it exists

  8. theimowski commented on Sep 20, 2014

    @theimowski
    Member

    how about this being a separate command, sth like paket init ? One could also use it when setting up a project from scratch. convert-from-nuget could call it

  9. ilkerde commented on Sep 20, 2014

    @ilkerde

    @forki <paranoid>Tbh, I don't feel like this is a good idea. Although I perfectly understand you want to gain world domination.</paranoid>

  10. forki commented on Sep 20, 2014

    @forki
    MemberAuthor

    @theimowski yes it should also be available as separate command.
    And I think convert-from-nuget should only generate this .paket folder if VS Package Restore was activated for Nuget.

    @ilkerde yes I know. But as seen in fsprojects/FSharp.Data#679 and twitter this is a highly demanded feature. I don't really understand this obsession with VS tooling.
    I always think F5 builds are a lie. But I do want to make things better with nuget. And broader adoption of paket might help people to fix their dependencies and to embrace SemVer. This would allow me to use more packages. ;-)

    I added VS Package Restore for Paket only to dogfood.

  11. forki commented on Sep 20, 2014

    @forki
    MemberAuthor

    @ilkerde btw: this doesn't do paket update- only install.

  12. ilkerde commented on Sep 20, 2014

    @ilkerde

    @forki Hmm, as long as we stick to only ever use paket install, I think it is acceptable.

  13. theimowski commented on Sep 20, 2014

    @theimowski
    Member

    Thinking about adding the .paket directory as a solution folder? Why would anybody need that?

  14. forki commented on Sep 20, 2014

    @forki
    MemberAuthor

    TBH no idea. scratch that

    2014-09-20 16:30 GMT+02:00 Tomasz Heimowski [email protected]:

    Thinking about adding the .paket directory as a solution folder? Why would
    anybody need that?

    —
    Reply to this email directly or view it on GitHub
    #130 (comment).

  15. bartelink commented on Sep 20, 2014

    @bartelink
    Member

    There's a growign awareness among people who think they like VS Package Restore that it makes a massive mess, slows builds down and generally gets you into fights diffing project files (e.g. trying to remove Package Restore). I'd be careful listening too much to the Package Restore People. (I could have been classified as a PRP for some types of projects until recently).

    The reason I'm typing this is because I saw suggestions of "If package restore is on perpetuate sutff - I'd like that switchable if it is to happen - plenty of the time it's just junk DNA because VS is fond of trying to make all projects consistent (it fails)). I'd hate to think that an innocent mistake could bring me back into Package Restore Hell.

    (Note I'm not opposed to the inclusion of the feature and undertstand the F5 desire to some degree. It's just needs to be well cordoned off, celar about when it's on and very much an opt-in thing that can be switched off at will - i.e. almost in the paket.dependencies file)

  16. reopened this on Sep 21, 2014
  17. forki commented on Sep 21, 2014

    @forki
    MemberAuthor

    documentation is missing

  18. bartelink commented on Sep 22, 2014

    @bartelink
    Member

    Homepage

    To get started with the code, just fork and clone locally. Then run the build scripts to retrieve dependencies to be able to build the solution.

    can probably change?

  19. forki commented on Sep 22, 2014

    @forki
    MemberAuthor

    Yes please send me a pull request. It's basically the same as the text in
    readme
    On Sep 22, 2014 12:46 PM, "bartelink" [email protected] wrote:

    Homepage http://fsprojects.github.io/Paket/index.html

    To get started with the code, just fork and clone locally. Then run the
    build scripts to retrieve dependencies to be able to build the solution.

    can probably change?

    —
    Reply to this email directly or view it on GitHub
    #130 (comment).

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