NuGet restore not working

Pure Krome's Avatar

Pure Krome

15 Jul, 2014 12:39 AM

Hi :)

I'm trying to use the NuGet restore option in a public repo, but it's not firing off.

Is this a case of the file being case sensitive? or some other silly thing I've done wrong?

REPO: https://github.com/OpenRealEstate/OpenRealEstate.NET/
the yml file: https://github.com/OpenRealEstate/OpenRealEstate.NET/blob/master/Ap...

Cheers!

  1. Support Staff 1 Posted by Feodor Fitsner on 15 Jul, 2014 05:25 AM

    Feodor Fitsner's Avatar

    I guess it's AppVeyor.yml that should be lowercase appveyor.yml.

  2. 2 Posted by Pure Krome on 15 Jul, 2014 05:28 AM

    Pure Krome's Avatar

    Can you confirm? surely it would be easy to add a check for the file, with case insensitive and culture-invariant?

  3. Support Staff 3 Posted by Feodor Fitsner on 15 Jul, 2014 05:31 AM

    Feodor Fitsner's Avatar

    But it's GitHub API, not AppVeyor. Try this link - I've changed to lowercase: https://github.com/OpenRealEstate/OpenRealEstate.NET/blob/master/ap...

  4. 4 Posted by Pure Krome on 15 Jul, 2014 05:35 AM

    Pure Krome's Avatar

    It's a GitHub thingy? What does GitHub have to do with this, in this case? Doesn't AppVeyor have some custom code that says: "OK, do I use the UI config or the .yml file? lets look for the yml file .. and .. nope . can't find one."

    Disclaimer: I'm an idiot, so I bet I have no idea what is going on - but it doesn't hurt to ask :)

  5. Support Staff 5 Posted by Feodor Fitsner on 15 Jul, 2014 05:40 AM

    Feodor Fitsner's Avatar

    Right, it checks for appveyor.yml first and if not found uses settings from UI.

  6. 6 Posted by Pure Krome on 15 Jul, 2014 06:19 AM

    Pure Krome's Avatar

    yeah. so where you do the check for appveyor.yml, can u see if that is a case sensitive check? if so, possible to change that to be case insensitive?

  7. Support Staff 7 Posted by Feodor Fitsner on 15 Jul, 2014 06:40 AM

    Feodor Fitsner's Avatar

    I'm afraid not. You pass appveyor.yml path to this API https://developer.github.com/v3/repos/contents/#get-contents and it gives 404 if a file with exact name not found.

  8. 8 Posted by Pure Krome on 15 Jul, 2014 06:53 AM

    Pure Krome's Avatar

    AH! i see why you passed this link, now :)

    Also, why are you pulling the file from GH instead of checking the cloned repo? Do you need to check for the file BEFORE you do the clone?

  9. Support Staff 9 Posted by Feodor Fitsner on 15 Jul, 2014 06:58 AM

    Feodor Fitsner's Avatar

    Exactly, appveyor.yml is used to break build into multiple jobs (build matrix), check excluded/included branches, etc. and this should be done before build starts and repo cloned.

  10. 10 Posted by Pure Krome on 16 Jul, 2014 01:12 AM

    Pure Krome's Avatar

    AH! sweet. I grabbed the info from http://blog.appveyor.com/2014/03/18/about-nuget-package-restore/ so maybe add a note in there about case sensitivity?

    Thanks heaps for an awesome product!

  11. Support Staff 11 Posted by Feodor Fitsner on 16 Jul, 2014 05:03 AM

    Feodor Fitsner's Avatar

    Sure, thanks for the update!

  12. Pure Krome closed this discussion on 01 Nov, 2014 12:09 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac