Docs Question

Patrick Schwarz's Avatar

Patrick Schwarz

04 Jul, 2018 03:07 PM

Section Text:
Classic Git (unlike GitHub or BitBucket) does not allow individual file check in, therefore YAML file in classic Git repository is being ignored. Workaround is to use Alternative YAML file location described above.

Could you clarify what you mean by this? What is classic git and why is the yaml file in the "classic git" being ignored.

Kind regards,

  1. 1 Posted by Ilya Finkelshte... on 04 Jul, 2018 05:53 PM

    Ilya Finkelshteyn's Avatar

    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.

  2. 2 Posted by Patrick Schwarz on 04 Jul, 2018 06:45 PM

    Patrick Schwarz's Avatar

    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?

  3. 3 Posted by Ilya Finkelshte... on 04 Jul, 2018 06:50 PM

    Ilya Finkelshteyn's Avatar

    GitLab and VSTS too. Also Kiln and Stash (BitBucket Server). And yes GitHub Enterprise.

  4. 4 Posted by Patrick Schwarz on 04 Jul, 2018 06:54 PM

    Patrick Schwarz's Avatar

    Perfect thanks.
    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 :)

  5. 5 Posted by Ilya Finkelshte... on 04 Jul, 2018 09:35 PM

    Ilya Finkelshteyn's Avatar

    Right, also changing "Classic" to "Generic" would be good. By the way, our website is open source, so PRs are welcome if you feel like this :)

  6. 6 Posted by Patrick Schwarz on 05 Jul, 2018 07:24 AM

    Patrick Schwarz's Avatar
  7. 7 Posted by Ilya Finkelshte... on 05 Jul, 2018 06:41 PM

    Ilya Finkelshteyn's Avatar

    Thanks :)

  8. Ilya Finkelshteyn closed this discussion on 04 Sep, 2018 09:00 PM.

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

Keyboard shortcuts


? 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