Skip to content

Cannot update GitHub dependency #385

Closed

Description

@tpluscode

Once there is a github dependency downloaded into paket-files it's not possible to update.

To reproduce:

  1. Clone https://github.com/tpluscode/paket-dependencies/
  2. paket update
  3. Get error File "[...]\paket-files\tpluscode\fileversionextractor\.gitattributes" already exists.

Activity

  1. forki commented on Nov 23, 2014

    @forki
    Member

    works for me

    image

    seems there is something else going on.

    (We are doing updates with github dependencies in a couple of projects multiple times a day)

  2. tpluscode commented on Nov 23, 2014

    @tpluscode
    ContributorAuthor

    Hm. Have you pulled latest from GitHub? Earlier the paket-files weren't checked-in.

  3. forki commented on Nov 23, 2014

    @forki
    Member

    Yes I tested on 0502edf30ba168605c3a3ce6adfbffb84db0674a

  4. tpluscode commented on Nov 23, 2014

    @tpluscode
    ContributorAuthor

    That's strange then. Maybe the code could be made more robust anyway. How is updating GitHub dependecies implemented? Such error that I get would not be possible if entire folder was removed first.

  5. forki commented on Nov 23, 2014

    @forki
    Member

    if entire folder was removed first.

    we are doing this, but before we're checking if the folder is up-to-date (to save your bandwidth).

    It would be really interesting to reproduce this.

  6. tpluscode commented on Nov 23, 2014

    @tpluscode
    ContributorAuthor

    Oh bugger, sorry my bad, I forgot to push after all. Please try again now with revision 1ea188a472

  7. forki commented on Nov 23, 2014

    @forki
    Member

    cool I can reproduce and will try to find the issue. 👍

  8. tpluscode commented on Nov 23, 2014

    @tpluscode
    ContributorAuthor

    It works. Thanks! 👍

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions