When AppVeyor creates a build, it tries to get appveyor.yml (or custom YAML name) from the repository. It happens on central servers (not build workers) before any git clone happens. At that moment AppVeyor need to get content of just single file (full clone would be too expensive on central servers scheduling thousands of builds). Generic git does not have an option to check out individual file. So we are using APIs like Get contents to get that file from source control providers who support this.
on 04 Jul, 2018 06:45 PM
Thanks for the fast response, that clarifies things a lot.
Can you also tell me which source control provider you support in this mode- is it really only github and bitbucket or do you also support others such as gitlab/vsts?
on 04 Jul, 2018 06:54 PM
Would be great if you could update the docs to clarify this for others as well (e.g. list the supported source control providers for a git hosted yaml file instead of referring to classic git)
Other than that the question is answered for me :)