1
0
mirror of synced 2025-12-19 09:57:42 -05:00

Remove github-ae from lib/all-versions.js (#49235)

This commit is contained in:
Peter Bengtsson
2024-02-20 07:54:34 -05:00
committed by GitHub
parent 4793b39885
commit 2987823594
99 changed files with 4 additions and 133 deletions

View File

@@ -27,7 +27,6 @@ layout: product-landing
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Accounts

View File

@@ -8,7 +8,6 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Profiles

View File

@@ -9,7 +9,6 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Accounts

View File

@@ -5,7 +5,6 @@ intro: 'You can automatically build and test your projects with {% data variable
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
redirect_from:
- /actions/building-and-testing-code-with-continuous-integration

View File

@@ -5,7 +5,6 @@ intro: 'Learn how deployments can run with {% data variables.product.prodname_ac
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
children:
- /about-continuous-deployment

View File

@@ -5,7 +5,6 @@ intro: 'Learn how to deploy to Azure App Service, Azure Kubernetes, and Azure St
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
children:
- /deploying-nodejs-to-azure-app-service

View File

@@ -4,7 +4,6 @@ shortTitle: Deploy to your cloud provider
intro: 'You can deploy to various cloud providers, such as AWS, Azure, and GKE.'
versions:
fpt: '*'
ghae: '*'
ghec: '*'
ghes: '*'
children:

View File

@@ -5,7 +5,6 @@ intro: 'You can sign Xcode apps within your continuous integration (CI) workflow
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
children:
- /installing-an-apple-certificate-on-macos-runners-for-xcode-development

View File

@@ -5,7 +5,6 @@ intro: 'Automatically deploy projects with {% data variables.product.prodname_ac
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
children:
- /about-deployments

View File

@@ -5,7 +5,6 @@ intro: You can review the past activity of your deployments.
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
children:
- /viewing-deployment-history

View File

@@ -5,7 +5,6 @@ intro: You can configure environments with protection rules and secrets. A workf
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
children:
- /using-environments-for-deployment

View File

@@ -14,7 +14,6 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
children:
- /managing-self-hosted-runners

View File

@@ -5,7 +5,6 @@ intro: You can host your own runners to run workflows in a highly customizable e
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
children:
- /about-self-hosted-runners

View File

@@ -40,7 +40,6 @@ layout: product-landing
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
children:
- /quickstart

View File

@@ -5,7 +5,6 @@ intro: 'You can automatically manage your issues and pull requests using {% data
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
children:
- /using-github-actions-for-project-management

View File

@@ -5,7 +5,6 @@ intro: 'Learn how to use {% data variables.product.prodname_actions_importer %}
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
children:
- /automating-migration-with-github-actions-importer

View File

@@ -5,7 +5,6 @@ intro: 'Learn how to migrate your existing CI/CD workflows to {% data variables.
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
redirect_from:
- /articles/migrating-github-actions-from-hcl-syntax-to-yaml-syntax

View File

@@ -5,7 +5,6 @@ intro: 'Learn how to manually migrate your existing CI/CD workflows to {% data v
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
children:
- /migrating-from-azure-pipelines-to-github-actions

View File

@@ -8,7 +8,6 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
children:
- /about-monitoring-and-troubleshooting

View File

@@ -5,7 +5,6 @@ intro: 'You can use containerized services in your {% data variables.product.pro
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
redirect_from:
- /actions/automating-your-workflow-with-github-actions/using-databases-and-services

View File

@@ -10,7 +10,6 @@ redirect_from:
versions:
ghec: '*'
ghes: '*'
ghae: '> 3.6'
topics:
- Enterprise
children:
@@ -20,4 +19,3 @@ children:
- /configuring-dependency-review-for-your-appliance
- /configuring-secret-scanning-for-your-appliance
---

View File

@@ -4,7 +4,6 @@ shortTitle: Supply chain security
intro: 'You can visualize, maintain, and secure the dependencies in your developers'' software supply chain.'
versions:
ghes: '*'
ghae: '*'
topics:
- Enterprise
children:

View File

@@ -12,7 +12,6 @@ redirect_from:
- /admin/configuration/managing-connections-between-your-enterprise-accounts
versions:
ghes: '*'
ghae: '*'
type: how_to
topics:
- Enterprise

View File

@@ -5,7 +5,6 @@ intro: 'You can configure applications for users in your enterprise.'
versions:
ghec: '*'
ghes: '*'
ghae: '*'
topics:
- Enterprise
children:

View File

@@ -5,7 +5,6 @@ intro: 'You can configure features and settings to harden security for your ente
versions:
ghec: '*'
ghes: '*'
ghae: '*'
topics:
- Enterprise
children:

View File

@@ -5,7 +5,6 @@ redirect_from:
- /enterprise/admin/github-actions/managing-access-to-actions-from-githubcom
versions:
ghes: '*'
ghae: '*'
topics:
- Enterprise
children:

View File

@@ -18,7 +18,6 @@ redirect_from:
versions:
ghec: '*'
ghes: '*'
ghae: '*'
topics:
- Accounts
- Authentication

View File

@@ -97,7 +97,6 @@ layout: product-landing
versions:
ghec: '*'
ghes: '*'
ghae: '*'
children:
- /overview
- /managing-your-enterprise-account

View File

@@ -5,7 +5,6 @@ intro: 'You can communicate information to users in your enterprise by customizi
versions:
ghec: '*'
ghes: '*'
ghae: '*'
topics:
- Enterprise
children:

View File

@@ -11,7 +11,6 @@ redirect_from:
versions:
ghec: '*'
ghes: '*'
ghae: '*'
topics:
- Enterprise
children:

View File

@@ -16,7 +16,6 @@ intro: 'You can use organizations to group users within your company, such as di
versions:
ghec: '*'
ghes: '*'
ghae: '*'
topics:
- Enterprise
children:

View File

@@ -8,7 +8,6 @@ redirect_from:
versions:
ghec: '*'
ghes: '*'
ghae: '*'
topics:
- Enterprise
children:

View File

@@ -14,7 +14,6 @@ redirect_from:
versions:
ghec: '*'
ghes: '*'
ghae: '*'
topics:
- Enterprise
children:

View File

@@ -6,7 +6,6 @@ redirect_from:
versions:
ghec: '*'
ghes: '*'
ghae: '*'
topics:
- Enterprise
children:

View File

@@ -17,7 +17,6 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
introLinks:
overview: /authentication/keeping-your-account-and-data-secure/about-authentication-to-github

View File

@@ -32,7 +32,6 @@ layout: product-landing
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Billing

View File

@@ -11,7 +11,6 @@ product: '{% data reusables.gated-features.wikis %}'
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Community

View File

@@ -25,7 +25,6 @@ layout: product-landing
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Community

View File

@@ -8,7 +8,6 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Community

View File

@@ -9,7 +9,6 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Community

View File

@@ -10,7 +10,6 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Community

View File

@@ -19,7 +19,6 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
layout: product-landing
introLinks:

View File

@@ -9,7 +9,6 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
children:
- /creating-gists

View File

@@ -9,7 +9,6 @@ intro: 'You can use simple features to format your comments and interact with ot
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
children:
- /quickstart-for-writing-on-github

View File

@@ -5,7 +5,6 @@ intro: '{% data reusables.cli.about-cli %}'
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
children:
- /github-cli

View File

@@ -45,7 +45,6 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
children:
- search

View File

@@ -32,7 +32,6 @@ beta_product: false
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
children:
- /tracking-your-work-with-issues

View File

@@ -5,7 +5,6 @@ intro: 'Use labels and milestones to categorize and track work on {% data variab
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Issues

View File

@@ -5,7 +5,6 @@ versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
# topics:
redirect_from:
- /categories/67/articles

View File

@@ -5,7 +5,6 @@ versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
# topics:
children:
- /about-source-code-imports-using-the-command-line

View File

@@ -22,7 +22,6 @@ versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
topics:
- Administrator
- Enterprise

View File

@@ -27,7 +27,6 @@ layout: product-landing
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Organizations

View File

@@ -8,7 +8,6 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Organizations

View File

@@ -5,7 +5,6 @@ intro: 'You can manage security settings and review the audit log{% ifversion gh
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Organizations

View File

@@ -8,7 +8,6 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Organizations

View File

@@ -7,7 +7,6 @@ redirect_from:
- /github/setting-up-and-managing-organizations-and-teams/managing-git-access-to-your-organizations-repositories
versions:
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Organizations

View File

@@ -8,7 +8,6 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Organizations

View File

@@ -7,7 +7,6 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Organizations

View File

@@ -8,7 +8,6 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Organizations

View File

@@ -9,7 +9,6 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Organizations

View File

@@ -10,7 +10,6 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Organizations

View File

@@ -4,7 +4,6 @@ intro: You can manage outside collaborators, or people who have access to reposi
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Organizations

View File

@@ -4,7 +4,6 @@ intro: You can control the level of access that each person has to your organiza
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Organizations

View File

@@ -31,7 +31,6 @@ layout: product-landing
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
children:
- /quickstart

View File

@@ -11,7 +11,6 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
children:
- /introduction-to-github-packages

View File

@@ -10,7 +10,6 @@ product: '{% data reusables.gated-features.pages %}'
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Pages

View File

@@ -40,7 +40,6 @@ product: '{% data reusables.gated-features.pages %}'
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Pages

View File

@@ -10,7 +10,6 @@ product: '{% data reusables.gated-features.pages %}'
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Pages

View File

@@ -8,7 +8,6 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Pull requests

View File

@@ -9,7 +9,6 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Pull requests

View File

@@ -8,7 +8,6 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Pull requests

View File

@@ -12,7 +12,6 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Pull requests

View File

@@ -8,7 +8,6 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Pull requests

View File

@@ -7,7 +7,6 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
children:
- /commit-exists-on-github-but-not-in-my-local-clone

View File

@@ -26,7 +26,6 @@ versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
topics:
- Pull requests
children:

View File

@@ -9,7 +9,6 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Repositories

View File

@@ -7,7 +7,6 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Repositories

View File

@@ -7,7 +7,6 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Repositories

View File

@@ -11,7 +11,6 @@ product: '{% data reusables.gated-features.protected-branches %}'
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Repositories

View File

@@ -28,7 +28,6 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Repositories

View File

@@ -4,7 +4,6 @@ intro: 'You can enable, configure, and disable optional features for your reposi
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Repositories

View File

@@ -4,7 +4,6 @@ intro: You can choose the way your repository functions by managing repository s
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Repositories

View File

@@ -8,7 +8,6 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Repositories

View File

@@ -11,7 +11,6 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
children:
- /about-large-files-on-github

View File

@@ -31,7 +31,6 @@ redirect_from:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- GitHub search

View File

@@ -5,6 +5,5 @@ versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
---

View File

@@ -6,7 +6,6 @@ versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
redirect_from:
- /enterprise/admin/guides/enterprise-support/receiving-help-from-github-enterprise-support
- /enterprise/admin/enterprise-support/receiving-help-from-github-support

View File

@@ -7,7 +7,6 @@ versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
redirect_from:
- /enterprise/admin/enterprise-support
- /admin/enterprise-support

View File

@@ -6,7 +6,6 @@ versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
redirect_from:
- /enterprise/admin/enterprise-support/overview
- /admin/enterprise-support/overview

View File

@@ -6,7 +6,6 @@ versions:
fpt: '*'
ghec: '*'
ghes: '*'
ghae: '*'
topics:
- Transcripts
children:

View File

@@ -21,7 +21,6 @@ featuredLinks:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Webhooks

View File

@@ -4,7 +4,6 @@ intro: Learn how to test your webhooks and troubleshoot problems.
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Webhooks

View File

@@ -23,7 +23,6 @@ describe('frontmatter versions are generated correctly from automated data', ()
const expectedVersions = {
fpt: '*',
ghae: '*',
ghec: '*',
ghes: expectedEnterpriseServerVersions,
}
@@ -41,7 +40,6 @@ describe('frontmatter versions are generated correctly from automated data', ()
const nextLatestRelease = supported[1]
const expectedVersions = {
fpt: '*',
ghae: '*',
ghec: '*',
ghes: `<=${nextLatestRelease}`,
}
@@ -58,7 +56,6 @@ describe('frontmatter versions are generated correctly from automated data', ()
const secondOldestRelease = supported[supported.length - 2]
const expectedVersions = {
fpt: '*',
ghae: '*',
ghec: '*',
ghes: `>=${secondOldestRelease}`,
}

View File

@@ -19,7 +19,6 @@ const thirdOldestSupportedGhes =
const shortVersionsTemplate = `
{% ifversion fpt %} I am FPT {% endif %}
{% ifversion ghae %} I am GHAE {% endif %}
{% ifversion ghec %} I am GHEC{% endif %}
{% ifversion ghes %} I am GHES {% endif %}
{% ifversion ghes = ${secondOldestSupportedGhes} %} I am GHES = ${secondOldestSupportedGhes} {% endif %}
@@ -29,7 +28,6 @@ const shortVersionsTemplate = `
{% ifversion ghes < ${thirdOldestSupportedGhes} and ghes > ${oldestSupportedGhes} %} I am ${secondOldestSupportedGhes} only {% endif %}
`
const negativeVersionsTemplate = `
{% ifversion not ghae %} I am not GHAE {% endif %}
{% ifversion not ghec %} I am not GHEC {% endif %}
{% ifversion not ghes %} I am not GHES {% endif %}
{% ifversion ghes != ${secondOldestSupportedGhes} %} I am not GHES ${secondOldestSupportedGhes} {% endif %}
@@ -66,18 +64,6 @@ describe('liquid template parser', () => {
)
})
test('GHAE works as expected', async () => {
req.context = {
currentVersion: 'github-ae@latest',
page: {},
allVersions,
enterpriseServerReleases,
}
contextualize(req)
const output = await liquid.parseAndRender(shortVersionsTemplate, req.context)
expect(output.trim()).toBe('I am GHAE')
})
test('GHEC works as expected', async () => {
req.context = {
currentVersion: 'enterprise-cloud@latest',
@@ -120,7 +106,7 @@ describe('liquid template parser', () => {
test('NOT statements work as expected on versions without numbered releases', async () => {
req.context = {
currentVersion: 'github-ae@latest',
currentVersion: 'free-pro-team@latest',
page: {},
allVersions,
enterpriseServerReleases,
@@ -142,7 +128,7 @@ describe('liquid template parser', () => {
contextualize(req)
const output = await liquid.parseAndRender(negativeVersionsTemplate, req.context)
expect(output.replace(/\s\s+/g, ' ').trim()).toBe(
`I am not GHAE I am not GHEC I am not GHES ${secondOldestSupportedGhes}`,
`I am not GHEC I am not GHES ${secondOldestSupportedGhes}`,
)
})
@@ -155,7 +141,7 @@ describe('liquid template parser', () => {
}
contextualize(req)
const output = await liquid.parseAndRender(negativeVersionsTemplate, req.context)
expect(output.replace(/\s\s+/g, ' ').trim()).toBe('I am not GHAE I am not GHEC')
expect(output.replace(/\s\s+/g, ' ').trim()).toBe('I am not GHEC')
})
})

View File

@@ -17,7 +17,6 @@ versions:
fpt: '*'
ghes: '*'
ghec: '*'
ghae: '*'
children:
# The list of children in the fixtures has to be the same names
# as we use in the real content. It can have fewer but can't include

View File

@@ -10,7 +10,6 @@ featuredLinks:
versions:
fpt: '*'
ghes: '*'
ghae: '*'
ghec: '*'
topics:
- Webhooks
@@ -20,4 +19,3 @@ changelog:
label: webhooks
layout: product-landing
---

View File

@@ -3,7 +3,6 @@ title: Default tool
versions:
free-pro-team: '*'
enterprise-server: '*'
github-ae: '*'
defaultTool: cli
---

View File

@@ -318,7 +318,6 @@ describe('Page class', () => {
expect(page.versions.ghae).toBeUndefined()
expect(page.applicableVersions.includes('free-pro-team@latest')).toBe(true)
expect(page.applicableVersions.includes(`enterprise-server@${latest}`)).toBe(true)
expect(page.applicableVersions.includes(`github-ae@latest`)).toBe(false)
})
test('index page', async () => {
@@ -327,7 +326,7 @@ describe('Page class', () => {
basePath: path.join(__dirname, '../../../content'),
languageCode: 'en',
})
expect(page.versions).toEqual({ fpt: '*', ghae: '*', ghec: '*', ghes: '*' })
expect(page.versions).toEqual({ fpt: '*', ghec: '*', ghes: '*' })
})
test('enterprise admin index page', async () => {

View File

@@ -49,20 +49,6 @@ const plans = [
openApiBaseName: 'ghes-',
miscBaseName: 'ghes-',
},
{
plan: 'github-ae',
planTitle: 'GitHub AE',
shortName: 'ghae',
releases: [latestNonNumberedRelease],
latestRelease: latestNonNumberedRelease,
// The below is used in lib/liquid-tags/ifversion.js and lib/get-applicable-versions.js.
// It lets us do semantic comparison internally while only exposing `@latest` in the UI.
internalLatestRelease: '3.6',
hasNumberedReleases: false,
openApiBaseName: 'ghae',
miscBaseName: 'ghae',
},
]
const allVersions = {}