NuGet restore not working
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!
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
Support Staff 1 Posted by Feodor Fitsner on 15 Jul, 2014 05:25 AM
I guess it's
AppVeyor.yml
that should be lowercaseappveyor.yml
.2 Posted by Pure Krome on 15 Jul, 2014 05:28 AM
Can you confirm? surely it would be easy to add a check for the file, with case insensitive and culture-invariant?
Support Staff 3 Posted by Feodor Fitsner on 15 Jul, 2014 05:31 AM
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 Posted by Pure Krome on 15 Jul, 2014 05:35 AM
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 :)
Support Staff 5 Posted by Feodor Fitsner on 15 Jul, 2014 05:40 AM
Right, it checks for
appveyor.yml
first and if not found uses settings from UI.6 Posted by Pure Krome on 15 Jul, 2014 06:19 AM
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?
Support Staff 7 Posted by Feodor Fitsner on 15 Jul, 2014 06:40 AM
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 Posted by Pure Krome on 15 Jul, 2014 06:53 AM
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?
Support Staff 9 Posted by Feodor Fitsner on 15 Jul, 2014 06:58 AM
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 Posted by Pure Krome on 16 Jul, 2014 01:12 AM
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!
Support Staff 11 Posted by Feodor Fitsner on 16 Jul, 2014 05:03 AM
Sure, thanks for the update!
Pure Krome closed this discussion on 01 Nov, 2014 12:09 AM.