github-enterprise

GitHub pages generator removing <video> tag

百般思念 提交于 2020-12-26 07:55:24
问题 Context I usually set up quick GitHub pages to document a few developments I do. They are usually very simple pages, which I generate from the repo settings using the Page Generator. I want to continue using this method, as moving to proper gh-pages with jekyll is too much of an overhead for something so simple. Recently I came across a use case, where adding a simple 2 min video to the first section made a lot of sense. Not knowing any native markdown for HTML video I've decided to add the

How to configure multiple github accounts on your computer?

ぐ巨炮叔叔 提交于 2020-03-21 06:34:06
问题 So, I have my work computer and that is connected to my GitHub Enterprise Account ( github.company.com ) on the terminal. Now I want to set up my personal account ( github.com ) on here too. I've been following this tutorial - https://code.tutsplus.com/tutorials/quick-tip-how-to-work-with-github-and-multiple-accounts--net-22574 and on step 3 when I have to create my config file should my HostName be github.company.com or github.com ? Can I have any (meaningful) name for Host ? Also, what does

How to import git repositories with large files?

a 夏天 提交于 2019-12-29 01:50:10
问题 Given that GitHub doesn't allow to push files larger than 100 MB, it is not possible to git clone and push a repository with large files into GitHub enterprise. The push fails with a: remote: error: GH001: Large files detected. You may want to try Git Large File Storage - https://git-lfs.github.com. remote: error: File large.zip is 145.00 MB; this exceeds GitHub Enterprise's file size limit of 100.00 MB (N.B.: there is a repository importer, but this is only for github.com, and requires

How can we enforce mandatory reviews in GitHub but still allow Maven release builds from CI?

我是研究僧i 提交于 2019-12-21 20:13:50
问题 We would like to use mandatory code reviews on pull requests in GitHub Enterprise 2.10 (using the "Require pull request reviews before merging" feature in the repository protected branch settings). However, when we enable this feature, Maven release builds fail, since the release plugin tries to push the new SNAPSHOT version to the repository using the credentials of the user that runs the TeamCity release build. Has anyone come up with an approach that works for this? Our requirements are:

Is it possible to retrieve the audit-log in github.com via the API?

本小妞迷上赌 提交于 2019-12-10 02:38:28
问题 I found nothing in the API docs, only the enterprise version mentions that you can retrieve the audit-logs using the staff-tools. Any idea? I'd love to periodically check the audit log and send the new entries to our IM channel (ChatOps). Thanks in advance, 回答1: As VonC points out, there is no API (as of October 2017). Unfortunately the "Export" function in the GitHub audit logs produces JSON or CSV of the audit events but the data is missing the payload with the details. For example the

GitHub:Enterprise post-receive hook

旧城冷巷雨未停 提交于 2019-12-07 01:46:43
问题 Does anyone know if there is a mechanism in GitHub:Enterprise to set up a general post-receive hook that will apply to all repositories (including new ones as soon as they are created?) I am trying to develop a link to a secondary system that will want to get notified of all pushes to all repositories, and requiring manual set-up for each new repository will just be a matter of time before it gets forgotten. 回答1: I know that this is really old, but GitHub Enterprise 2.6 just came out with pre

GitHub:Enterprise post-receive hook

孤者浪人 提交于 2019-12-05 06:23:15
Does anyone know if there is a mechanism in GitHub:Enterprise to set up a general post-receive hook that will apply to all repositories (including new ones as soon as they are created?) I am trying to develop a link to a secondary system that will want to get notified of all pushes to all repositories, and requiring manual set-up for each new repository will just be a matter of time before it gets forgotten. I know that this is really old, but GitHub Enterprise 2.6 just came out with pre-receive hooks. More information can be learned here: https://help.github.com/enterprise/admin/guides

Is it possible to retrieve the audit-log in github.com via the API?

匆匆过客 提交于 2019-12-05 02:34:39
I found nothing in the API docs, only the enterprise version mentions that you can retrieve the audit-logs using the staff-tools. Any idea? I'd love to periodically check the audit log and send the new entries to our IM channel (ChatOps). Thanks in advance, As VonC points out, there is no API (as of October 2017). Unfortunately the "Export" function in the GitHub audit logs produces JSON or CSV of the audit events but the data is missing the payload with the details. For example the export would show that an issue_comment.update had been made but the web UI gives a link to the comment itself.

How can we enforce mandatory reviews in GitHub but still allow Maven release builds from CI?

早过忘川 提交于 2019-12-04 13:17:07
We would like to use mandatory code reviews on pull requests in GitHub Enterprise 2.10 (using the "Require pull request reviews before merging" feature in the repository protected branch settings). However, when we enable this feature, Maven release builds fail, since the release plugin tries to push the new SNAPSHOT version to the repository using the credentials of the user that runs the TeamCity release build. Has anyone come up with an approach that works for this? Our requirements are: Require code reviews for normal commits/pull requests Allow automated release builds to commit the

Github enterprise - remote: Password authentication is not available for Git operations

你离开我真会死。 提交于 2019-12-04 08:23:09
问题 My git was working fine, then without changing anything than the following problem started to happen, I have tried resetting the cache in credentials.helper and have gone through pretty much every stackoverflow answer I could find remote: Password authentication is not available for Git operations. remote: You must use a personal access token or SSH key. remote: See https://github.ibm.com/settings/tokens or 'https://github.ibm.com/WBurney/Blockchain_SDO.git/': The requested URL returned error