mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 15:31:48 +00:00
Update marketing website link in monorepo (#58449)
Co-authored-by: Alex Isken <alex.isken@sourcegraph.com> Co-authored-by: Joe Chen <joe@sourcegraph.com>
This commit is contained in:
parent
55db56ece6
commit
568e5b2c1c
2
.github/ISSUE_TEMPLATE/bug_report.md
vendored
2
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@ -19,4 +19,4 @@ assignees: ''
|
||||
|
||||
#### Actual behavior:
|
||||
|
||||
If you would like immediate help on this, please email support@sourcegraph.com (you can still create the issue, but there are no [SLAs](https://about.sourcegraph.com/support/) on issues like there are for support requests).
|
||||
If you would like immediate help on this, please email support@sourcegraph.com (you can still create the issue, but there are no [SLAs](https://sourcegraph.com/support/) on issues like there are for support requests).
|
||||
|
||||
2
.github/ISSUE_TEMPLATE/question.md
vendored
2
.github/ISSUE_TEMPLATE/question.md
vendored
@ -19,4 +19,4 @@ assignees: ''
|
||||
|
||||
<!-- Add any other context or other information you'd like to include. -->
|
||||
|
||||
If you would like immediate help on this, please email support@sourcegraph.com (you can still create the issue, but there are no [SLAs](https://about.sourcegraph.com/support/) on issues like there are for support requests).
|
||||
If you would like immediate help on this, please email support@sourcegraph.com (you can still create the issue, but there are no [SLAs](https://sourcegraph.com/support/) on issues like there are for support requests).
|
||||
|
||||
@ -8,7 +8,7 @@ In short, we are open to nearly all contributions! We love feedback in all forms
|
||||
|
||||
Unless you feel confident your change will be accepted (trivial bug fixes, code cleanup, etc) you should first create an issue or a [Sourcegraph RFC](https://handbook.sourcegraph.com/communication/rfcs#external-contributors) (preferred for bigger changes) to discuss your change with us. This lets us all discuss the design and proposed implementation of your change, which helps ensure your time is well spent and that your contribution will be accepted.
|
||||
|
||||
> Exception: If you contribute functionality that already exists as a [paid Sourcegraph feature](https://about.sourcegraph.com/pricing/), we are unlikely to accept it. Consult us beforehand for a definitive answer. (We'll add more details about the process here, and they'll be similar to [GitLab's stewardship principles](https://about.gitlab.com/stewardship/#contributing-an-existing-ee-feature-to-ce).)
|
||||
> Exception: If you contribute functionality that already exists as a [paid Sourcegraph feature](https://sourcegraph.com/pricing/), we are unlikely to accept it. Consult us beforehand for a definitive answer. (We'll add more details about the process here, and they'll be similar to [GitLab's stewardship principles](https://about.gitlab.com/stewardship/#contributing-an-existing-ee-feature-to-ce).)
|
||||
|
||||
## Code of Conduct
|
||||
|
||||
|
||||
@ -6,7 +6,7 @@ With regard to the Sourcegraph Software:
|
||||
This software and associated documentation files (the "Software") may only be
|
||||
used in production, if you (and any entity that you represent) have agreed to,
|
||||
and are in compliance with, the Sourcegraph Terms of Service, available
|
||||
at https://about.sourcegraph.com/terms (the “Enterprise Terms”), or other
|
||||
at https://sourcegraph.com/terms (the “Enterprise Terms”), or other
|
||||
agreement governing the use of the Software, as agreed by you and Sourcegraph,
|
||||
and otherwise have a valid Sourcegraph Enterprise subscription for the
|
||||
correct number of user seats. Subject to the foregoing sentence, you are free to
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<p align="center">
|
||||
<a href="https://about.sourcegraph.com/" target="_blank">
|
||||
<a href="https://sourcegraph.com/" target="_blank">
|
||||
<picture>
|
||||
<source media="(prefers-color-scheme: dark)" srcset="https://p21.p4.n0.cdn.getcloudapp.com/items/6qub2y6g/8c25cf68-2715-4f0e-9de6-26292fad604f.svg" width="50%">
|
||||
<img src="https://p21.p4.n0.cdn.getcloudapp.com/items/12u7NWXL/5e21725d-6e84-4ccd-8300-27bf9a050416.svg" width="50%">
|
||||
@ -43,7 +43,7 @@
|
||||
|
||||
<br><br>
|
||||
|
||||
<img src="https://about.sourcegraph.com/home/banner.png" />
|
||||
<img src="https://sourcegraph.com/home/banner.png" />
|
||||
|
||||
## Development
|
||||
|
||||
|
||||
@ -256,7 +256,7 @@ export const SearchContextMenu: FC<SearchContextMenuProps> = props => {
|
||||
<Text className="mb-0">
|
||||
To search across your team's private repositories,{' '}
|
||||
<Link
|
||||
to="https://about.sourcegraph.com"
|
||||
to="https://sourcegraph.com"
|
||||
onClick={() =>
|
||||
telemetryService.log('ClickedOnEnterpriseCTA', {
|
||||
location: 'ContextDropDown',
|
||||
|
||||
@ -275,7 +275,7 @@ async function main(): Promise<void> {
|
||||
|
||||
await browser.runtime.setUninstallURL(
|
||||
createURLWithUTM(
|
||||
new URL('https://about.sourcegraph.com/uninstall'),
|
||||
new URL('https://sourcegraph.com/uninstall'),
|
||||
IsProductionVersion
|
||||
? {
|
||||
utm_source: getPlatformName(),
|
||||
|
||||
@ -194,11 +194,11 @@ export const CloudSignUpPage: React.FunctionComponent<React.PropsWithChildren<Pr
|
||||
|
||||
<small className="text-muted">
|
||||
By registering, you agree to our{' '}
|
||||
<Link to="https://about.sourcegraph.com/terms" target="_blank" rel="noopener">
|
||||
<Link to="https://sourcegraph.com/terms" target="_blank" rel="noopener">
|
||||
Terms of Service
|
||||
</Link>{' '}
|
||||
and{' '}
|
||||
<Link to="https://about.sourcegraph.com/privacy" target="_blank" rel="noopener">
|
||||
<Link to="https://sourcegraph.com/privacy" target="_blank" rel="noopener">
|
||||
Privacy Policy
|
||||
</Link>
|
||||
.
|
||||
|
||||
@ -233,11 +233,11 @@ export const SignUpForm: React.FunctionComponent<React.PropsWithChildren<SignUpF
|
||||
<Text className="mt-3 mb-0">
|
||||
<small className="form-text text-muted">
|
||||
By signing up, you agree to our{' '}
|
||||
<Link to="https://about.sourcegraph.com/terms" target="_blank" rel="noopener">
|
||||
<Link to="https://sourcegraph.com/terms" target="_blank" rel="noopener">
|
||||
Terms of Service
|
||||
</Link>{' '}
|
||||
and{' '}
|
||||
<Link to="https://about.sourcegraph.com/privacy" target="_blank" rel="noopener">
|
||||
<Link to="https://sourcegraph.com/privacy" target="_blank" rel="noopener">
|
||||
Privacy Policy
|
||||
</Link>
|
||||
.
|
||||
|
||||
@ -149,11 +149,11 @@ export const VsCodeSignUpPage: React.FunctionComponent<React.PropsWithChildren<V
|
||||
{renderAuthMethod()}
|
||||
<small className="text-muted">
|
||||
By registering, you agree to our{' '}
|
||||
<Link to="https://about.sourcegraph.com/terms" target="_blank" rel="noopener">
|
||||
<Link to="https://sourcegraph.com/terms" target="_blank" rel="noopener">
|
||||
Terms of Service
|
||||
</Link>{' '}
|
||||
and{' '}
|
||||
<Link to="https://about.sourcegraph.com/privacy" target="_blank" rel="noopener">
|
||||
<Link to="https://sourcegraph.com/privacy" target="_blank" rel="noopener">
|
||||
Privacy Policy
|
||||
</Link>
|
||||
.
|
||||
|
||||
@ -157,7 +157,7 @@ exports[`SignUpPage > renders sign up page (cloud) 1`] = `
|
||||
By registering, you agree to our
|
||||
<a
|
||||
class="anchorLink"
|
||||
href="https://about.sourcegraph.com/terms"
|
||||
href="https://sourcegraph.com/terms"
|
||||
rel="noopener"
|
||||
target="_blank"
|
||||
>
|
||||
@ -166,7 +166,7 @@ exports[`SignUpPage > renders sign up page (cloud) 1`] = `
|
||||
and
|
||||
<a
|
||||
class="anchorLink"
|
||||
href="https://about.sourcegraph.com/privacy"
|
||||
href="https://sourcegraph.com/privacy"
|
||||
rel="noopener"
|
||||
target="_blank"
|
||||
>
|
||||
@ -346,7 +346,7 @@ exports[`SignUpPage > renders sign up page (server) 1`] = `
|
||||
By signing up, you agree to our
|
||||
<a
|
||||
class="anchorLink"
|
||||
href="https://about.sourcegraph.com/terms"
|
||||
href="https://sourcegraph.com/terms"
|
||||
rel="noopener"
|
||||
target="_blank"
|
||||
>
|
||||
@ -355,7 +355,7 @@ exports[`SignUpPage > renders sign up page (server) 1`] = `
|
||||
and
|
||||
<a
|
||||
class="anchorLink"
|
||||
href="https://about.sourcegraph.com/privacy"
|
||||
href="https://sourcegraph.com/privacy"
|
||||
rel="noopener"
|
||||
target="_blank"
|
||||
>
|
||||
|
||||
@ -426,12 +426,12 @@ const CodyNotEnabledNotice: React.FunctionComponent = React.memo(function CodyNo
|
||||
<>
|
||||
<Link to={`/sign-in?returnTo=${location.pathname}`}>Sign in</Link> to get access to Cody.
|
||||
You can learn more about Cody{' '}
|
||||
<Link to="https://about.sourcegraph.com/cody?utm_source=server">here</Link>.
|
||||
<Link to="https://sourcegraph.com/cody?utm_source=server">here</Link>.
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
Cody isn't available on this instance, but you can learn more about Cody{' '}
|
||||
<Link to="https://about.sourcegraph.com/cody?utm_source=server">here</Link>.
|
||||
<Link to="https://sourcegraph.com/cody?utm_source=server">here</Link>.
|
||||
</>
|
||||
)}
|
||||
</Text>
|
||||
|
||||
@ -171,7 +171,7 @@ export const CodyMarketingPage: React.FunctionComponent<CodyMarketingPageProps>
|
||||
By registering, you agree to our{' '}
|
||||
<Link
|
||||
className={styles.termsPrivacyLink}
|
||||
to="https://about.sourcegraph.com/terms"
|
||||
to="https://sourcegraph.com/terms"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>
|
||||
@ -180,7 +180,7 @@ export const CodyMarketingPage: React.FunctionComponent<CodyMarketingPageProps>
|
||||
and{' '}
|
||||
<Link
|
||||
className={styles.termsPrivacyLink}
|
||||
to="https://about.sourcegraph.com/privacy"
|
||||
to="https://sourcegraph.com/privacy"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
>
|
||||
@ -205,7 +205,7 @@ export const CodyMarketingPage: React.FunctionComponent<CodyMarketingPageProps>
|
||||
<li>Write code faster</li>
|
||||
</ul>
|
||||
<Text className="mb-0">
|
||||
<Link to="https://about.sourcegraph.com/cody">Learn more about Cody →</Link>
|
||||
<Link to="https://sourcegraph.com/cody">Learn more about Cody →</Link>
|
||||
{authenticatedUser?.siteAdmin && (
|
||||
<>
|
||||
{' '}
|
||||
@ -243,7 +243,7 @@ export const CodyMarketingPage: React.FunctionComponent<CodyMarketingPageProps>
|
||||
<H4 className={styles.learnMoreItemsTitle}>Overview</H4>
|
||||
<Text className="mb-0">
|
||||
Visit the{' '}
|
||||
<Link to="https://about.sourcegraph.com/cody" target="_blank" rel="noopener">
|
||||
<Link to="https://sourcegraph.com/cody" target="_blank" rel="noopener">
|
||||
product page
|
||||
</Link>{' '}
|
||||
and see what devs are building with Cody.
|
||||
@ -255,8 +255,8 @@ export const CodyMarketingPage: React.FunctionComponent<CodyMarketingPageProps>
|
||||
<MeetCodySVG />
|
||||
</div>
|
||||
<Text className="ml-3">
|
||||
<Link to="https://about.sourcegraph.com/cody">Learn about Cody</Link>, Sourcegraph's AI
|
||||
coding assistant.
|
||||
<Link to="https://sourcegraph.com/cody">Learn about Cody</Link>, Sourcegraph's AI coding
|
||||
assistant.
|
||||
</Text>
|
||||
</div>
|
||||
)}
|
||||
@ -286,7 +286,7 @@ export const CodyMarketingPage: React.FunctionComponent<CodyMarketingPageProps>
|
||||
</Text>
|
||||
<div className="mb-2">
|
||||
<Link
|
||||
to="https://about.sourcegraph.com/demo"
|
||||
to="https://sourcegraph.com/demo"
|
||||
className={classNames('d-inline-flex align-items-center', styles.footerCtaLink)}
|
||||
onClick={onSpeakToAnEngineer}
|
||||
>
|
||||
|
||||
@ -260,7 +260,7 @@ export const GettingStarted: React.FC<
|
||||
|
||||
<Text alignment="center" size="small">
|
||||
By using Cody, you agree to its{' '}
|
||||
<Link to="https://about.sourcegraph.com/terms/cody-notice">license and privacy statement</Link>.
|
||||
<Link to="https://sourcegraph.com/terms/cody-notice">license and privacy statement</Link>.
|
||||
</Text>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -129,8 +129,8 @@ export const AddExternalServicesPage: FC<AddExternalServicesPageProps> = ({
|
||||
<>
|
||||
<Text>
|
||||
<Icon aria-label="Information icon" svgPath={mdiInformation} /> Upgrade to{' '}
|
||||
<Link to="https://about.sourcegraph.com/pricing">Sourcegraph Enterprise</Link> to add
|
||||
repositories from other code hosts.
|
||||
<Link to="https://sourcegraph.com/pricing">Sourcegraph Enterprise</Link> to add repositories
|
||||
from other code hosts.
|
||||
</Text>
|
||||
</>
|
||||
)}
|
||||
|
||||
@ -40,12 +40,12 @@ export const AboutTab: React.FC<AboutTabProps> = ({ version = window.context.ver
|
||||
<div className={classNames(styles.panel)}>
|
||||
<H3>Terms and Conditions</H3>
|
||||
<div>
|
||||
<Link to="https://about.sourcegraph.com/terms/cody-notice">
|
||||
<Link to="https://sourcegraph.com/terms/cody-notice">
|
||||
Usage and Privacy Notice <Icon role="img" aria-hidden={true} svgPath={mdiLaunch} />
|
||||
</Link>
|
||||
</div>
|
||||
<div>
|
||||
<Link to="https://about.sourcegraph.com/terms/cloud">
|
||||
<Link to="https://sourcegraph.com/terms/cloud">
|
||||
Terms of Service for Sourcegraph Cloud{' '}
|
||||
<Icon role="img" aria-hidden={true} svgPath={mdiLaunch} />
|
||||
</Link>
|
||||
|
||||
@ -129,7 +129,7 @@ const CodyInfo: FC = () => (
|
||||
</Text>
|
||||
By signing in, you’re connecting Cody to your app and agreeing to Sourcegraph’s Cody Usage Privacy Notice.{' '}
|
||||
<Link
|
||||
to="https://about.sourcegraph.com/terms/cody-notice"
|
||||
to="https://sourcegraph.com/terms/cody-notice"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
className={styles.actionsTermLink}
|
||||
|
||||
@ -160,7 +160,7 @@ export const BatchChangeListPage: React.FunctionComponent<React.PropsWithChildre
|
||||
isSourcegraphDotCom ? (
|
||||
<Button
|
||||
as={Link}
|
||||
to="https://about.sourcegraph.com"
|
||||
to="https://sourcegraph.com"
|
||||
variant="primary"
|
||||
onClick={() => eventLogger.log('ClickedOnEnterpriseCTA', { location: 'TryBatchChanges' })}
|
||||
>
|
||||
|
||||
@ -57,7 +57,7 @@ const BatchChangesUnlicensedAlert: React.FunctionComponent<React.PropsWithChildr
|
||||
up to ten changesets without a license.
|
||||
</Text>
|
||||
<Text className="mb-0">
|
||||
<Link to="https://about.sourcegraph.com/contact/sales/">Contact sales</Link> to obtain a trial
|
||||
<Link to="https://sourcegraph.com/contact/sales/">Contact sales</Link> to obtain a trial
|
||||
license.
|
||||
</Text>
|
||||
</div>
|
||||
|
||||
@ -19,7 +19,7 @@ export interface GettingStartedProps {
|
||||
className?: string
|
||||
}
|
||||
|
||||
const productPageUrl = 'https://about.sourcegraph.com/batch-changes'
|
||||
const productPageUrl = 'https://sourcegraph.com/batch-changes'
|
||||
|
||||
export const GettingStarted: React.FunctionComponent<React.PropsWithChildren<GettingStartedProps>> = ({
|
||||
isSourcegraphDotCom,
|
||||
@ -95,7 +95,7 @@ export const GettingStarted: React.FunctionComponent<React.PropsWithChildren<Get
|
||||
<CallToActionBanner variant="filled">
|
||||
To automate changes across your team's private repositories,{' '}
|
||||
<Link
|
||||
to="https://about.sourcegraph.com"
|
||||
to="https://sourcegraph.com"
|
||||
onClick={() =>
|
||||
eventLogger.log('ClickedOnEnterpriseCTA', { location: 'BatchChangesGettingStarted' })
|
||||
}
|
||||
|
||||
@ -80,7 +80,7 @@ export const CodeMonitorList: React.FunctionComponent<React.PropsWithChildren<Co
|
||||
<CallToActionBanner variant="outlined" small={true}>
|
||||
To monitor changes across your private repositories,{' '}
|
||||
<Link
|
||||
to="https://about.sourcegraph.com"
|
||||
to="https://sourcegraph.com"
|
||||
onClick={() =>
|
||||
eventLogger.log('ClickedOnEnterpriseCTA', { location: 'Monitoring' })
|
||||
}
|
||||
|
||||
@ -76,7 +76,7 @@ export const CodeMonitoringGettingStarted: React.FunctionComponent<
|
||||
eventLogger.log('CodeMonitoringExampleMonitorClicked')
|
||||
}, [])
|
||||
|
||||
let ctaBannerUrl = 'https://about.sourcegraph.com/get-started?t=enterprise'
|
||||
let ctaBannerUrl = 'https://sourcegraph.com/get-started?t=enterprise'
|
||||
if (isCodyApp) {
|
||||
ctaBannerUrl = addSourcegraphAppOutboundUrlParameters(ctaBannerUrl, 'monitoring')
|
||||
}
|
||||
|
||||
@ -44,7 +44,7 @@ export const CodeInsightsDotComGetStarted: React.FunctionComponent<
|
||||
isSourcegraphDotCom ? (
|
||||
<Button
|
||||
as={Link}
|
||||
to="https://about.sourcegraph.com"
|
||||
to="https://sourcegraph.com"
|
||||
variant="primary"
|
||||
onClick={() => eventLogger.log('ClickedOnEnterpriseCTA', { location: 'TryInsights' })}
|
||||
>
|
||||
@ -84,7 +84,7 @@ export const CodeInsightsDotComGetStarted: React.FunctionComponent<
|
||||
<CallToActionBanner variant="filled">
|
||||
To track Insights across your team's private repositories,{' '}
|
||||
<Link
|
||||
to="https://about.sourcegraph.com"
|
||||
to="https://sourcegraph.com"
|
||||
onClick={() => eventLogger.log('ClickedOnEnterpriseCTA', { location: 'Insights' })}
|
||||
>
|
||||
get Sourcegraph Enterprise
|
||||
|
||||
@ -8,7 +8,7 @@ interface Props {
|
||||
className?: string
|
||||
}
|
||||
|
||||
const productPageUrl = 'https://about.sourcegraph.com/code-insights'
|
||||
const productPageUrl = 'https://sourcegraph.com/code-insights'
|
||||
|
||||
/**
|
||||
* The product description for Code Insights.
|
||||
|
||||
@ -68,8 +68,8 @@ export const OwnPage: React.FunctionComponent<{}> = () => {
|
||||
<Text>
|
||||
Code ownership is in a beta and is getting smarter fast. We’d love your feedback. You can
|
||||
turn it on using the documentation below, or{' '}
|
||||
<Link to="https://about.sourcegraph.com/demo">contact us</Link> to get a demo and learn more
|
||||
about our roadmap.
|
||||
<Link to="https://sourcegraph.com/demo">contact us</Link> to get a demo and learn more about
|
||||
our roadmap.
|
||||
</Text>
|
||||
<H3 as="h4">Resources</H3>
|
||||
<ul>
|
||||
@ -80,7 +80,7 @@ export const OwnPage: React.FunctionComponent<{}> = () => {
|
||||
</Link>
|
||||
</li>
|
||||
<li>
|
||||
<Link to="https://about.sourcegraph.com/own" target="_blank" rel="noopener">
|
||||
<Link to="https://sourcegraph.com/own" target="_blank" rel="noopener">
|
||||
Product page{' '}
|
||||
<Icon role="img" aria-label="Open in a new tab" svgPath={mdiOpenInNew} />
|
||||
</Link>
|
||||
|
||||
@ -63,7 +63,7 @@ export const TrueUpStatusSummary: React.FunctionComponent<React.PropsWithChildre
|
||||
</div>
|
||||
<small>
|
||||
Learn more about{' '}
|
||||
<Link to="https://about.sourcegraph.com/pricing" target="_blank" rel="noopener noreferrer">
|
||||
<Link to="https://sourcegraph.com/pricing" target="_blank" rel="noopener noreferrer">
|
||||
Sourcegraph's true-up pricing model
|
||||
</Link>
|
||||
.
|
||||
|
||||
@ -59,7 +59,7 @@ export const SearchContextsListPage: React.FunctionComponent<SearchContextsListP
|
||||
<CallToActionBanner variant="filled" className="mb-0">
|
||||
To search across your team's private repositories,{' '}
|
||||
<Link
|
||||
to="https://about.sourcegraph.com"
|
||||
to="https://sourcegraph.com"
|
||||
onClick={() =>
|
||||
eventLogger.log('ClickedOnEnterpriseCTA', { location: 'ContextsSettings' })
|
||||
}
|
||||
|
||||
@ -124,7 +124,7 @@ export const ProductSubscriptionStatus: React.FunctionComponent<React.PropsWithC
|
||||
{numberWithCommas(actualUserCount)} maximum ever used)
|
||||
</div>
|
||||
<ButtonLink
|
||||
to="https://about.sourcegraph.com/pricing"
|
||||
to="https://sourcegraph.com/pricing"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
variant="primary"
|
||||
@ -144,7 +144,7 @@ export const ProductSubscriptionStatus: React.FunctionComponent<React.PropsWithC
|
||||
<div className="text-nowrap flex-wrap-reverse">
|
||||
<Tooltip content="Buy a Sourcegraph Enterprise subscription to get a license key">
|
||||
<ButtonLink
|
||||
to="http://about.sourcegraph.com/contact/sales"
|
||||
to="http://sourcegraph.com/contact/sales"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
variant="primary"
|
||||
@ -172,7 +172,7 @@ export const ProductSubscriptionStatus: React.FunctionComponent<React.PropsWithC
|
||||
<Alert variant="warning">
|
||||
You have exceeded your licensed users.{' '}
|
||||
<Link to="/site-admin/license">View your license details</Link> or{' '}
|
||||
<Link to="https://about.sourcegraph.com/pricing" target="_blank" rel="noopener">
|
||||
<Link to="https://sourcegraph.com/pricing" target="_blank" rel="noopener">
|
||||
upgrade your license
|
||||
</Link>{' '}
|
||||
to true up and prevent a retroactive charge.
|
||||
|
||||
@ -84,12 +84,12 @@ export const UserSubscriptionsProductSubscriptionsPage: React.FunctionComponent<
|
||||
<>
|
||||
Search your private code with{' '}
|
||||
<Link
|
||||
to="https://about.sourcegraph.com"
|
||||
to="https://sourcegraph.com"
|
||||
onClick={() => eventLogger.log('ClickedOnEnterpriseCTA', { location: 'Subscriptions' })}
|
||||
>
|
||||
Sourcegraph Enterprise
|
||||
</Link>
|
||||
. See <Link to="https://about.sourcegraph.com/pricing">pricing</Link> for more information.
|
||||
. See <Link to="https://sourcegraph.com/pricing">pricing</Link> for more information.
|
||||
</>
|
||||
}
|
||||
className="mb-3"
|
||||
|
||||
@ -71,7 +71,7 @@ export const GetCodyPage: React.FunctionComponent<GetCodyPageProps> = ({ authent
|
||||
<Page className={styles.page}>
|
||||
<PageTitle title="Get Started with Cody" />
|
||||
<PageHeader className={styles.pageHeader}>
|
||||
<Link to="https://about.sourcegraph.com/">
|
||||
<Link to="https://sourcegraph.com/">
|
||||
<img
|
||||
className={styles.pageHeaderImage}
|
||||
src="https://sourcegraph.com/.assets/img/sourcegraph-logo-dark.svg"
|
||||
@ -116,7 +116,7 @@ export const GetCodyPage: React.FunctionComponent<GetCodyPageProps> = ({ authent
|
||||
<Text className={styles.terms}>
|
||||
By registering, you agree to our{' '}
|
||||
<Link
|
||||
to="https://about.sourcegraph.com/terms"
|
||||
to="https://sourcegraph.com/terms"
|
||||
className={styles.termsLink}
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
@ -125,7 +125,7 @@ export const GetCodyPage: React.FunctionComponent<GetCodyPageProps> = ({ authent
|
||||
</Link>{' '}
|
||||
and{' '}
|
||||
<Link
|
||||
to="https://about.sourcegraph.com/terms/privacy"
|
||||
to="https://sourcegraph.com/terms/privacy"
|
||||
className={styles.termsLink}
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
@ -251,7 +251,7 @@ export const GetCodyPage: React.FunctionComponent<GetCodyPageProps> = ({ authent
|
||||
<Text className={styles.terms}>
|
||||
By using Sourcegraph, you agree to the{' '}
|
||||
<Link
|
||||
to="https://about.sourcegraph.com/terms/privacy"
|
||||
to="https://sourcegraph.com/terms/privacy"
|
||||
className={styles.termsLink}
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
@ -260,7 +260,7 @@ export const GetCodyPage: React.FunctionComponent<GetCodyPageProps> = ({ authent
|
||||
</Link>{' '}
|
||||
and{' '}
|
||||
<Link
|
||||
to="https://about.sourcegraph.com/terms"
|
||||
to="https://sourcegraph.com/terms"
|
||||
className={styles.termsLink}
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
@ -307,13 +307,13 @@ export const GetCodyPage: React.FunctionComponent<GetCodyPageProps> = ({ authent
|
||||
</Text>
|
||||
<div className={styles.ctaButtonWrapper}>
|
||||
<Link
|
||||
to="https://about.sourcegraph.com/cody/pricing"
|
||||
to="https://sourcegraph.com/cody/pricing"
|
||||
className={classNames('text-decoration-none', styles.getCodyEnterpriseButton)}
|
||||
>
|
||||
Get Cody for Enterprise
|
||||
</Link>
|
||||
<Link
|
||||
to="https://about.sourcegraph.com/demo"
|
||||
to="https://sourcegraph.com/demo"
|
||||
className={classNames('text-decoration-none', styles.talkToEngineerButton)}
|
||||
>
|
||||
Talk to an engineer
|
||||
@ -326,7 +326,7 @@ export const GetCodyPage: React.FunctionComponent<GetCodyPageProps> = ({ authent
|
||||
<div className={styles.footer}>
|
||||
<Text>© 2023 Sourcegraph, Inc. </Text>
|
||||
<Link
|
||||
to="https://about.sourcegraph.com/terms"
|
||||
to="https://sourcegraph.com/terms"
|
||||
className={styles.footerLink}
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
@ -334,7 +334,7 @@ export const GetCodyPage: React.FunctionComponent<GetCodyPageProps> = ({ authent
|
||||
Terms
|
||||
</Link>
|
||||
<Link
|
||||
to="https://about.sourcegraph.com/security"
|
||||
to="https://sourcegraph.com/security"
|
||||
className={styles.footerLink}
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
@ -342,7 +342,7 @@ export const GetCodyPage: React.FunctionComponent<GetCodyPageProps> = ({ authent
|
||||
Security
|
||||
</Link>
|
||||
<Link
|
||||
to="https://about.sourcegraph.com/terms/privacy"
|
||||
to="https://sourcegraph.com/terms/privacy"
|
||||
className={styles.footerLink}
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
|
||||
@ -45,7 +45,7 @@ export const SurveyUserRatingToast: React.FunctionComponent<SurveyUserRatingToas
|
||||
<Text className="d-flex align-items-center justify-content-between mb-1">
|
||||
<span>
|
||||
By submitting your feedback, you agree to the{' '}
|
||||
<Link to="https://about.sourcegraph.com/terms/privacy">Sourcegraph Privacy Policy</Link>.
|
||||
<Link to="https://sourcegraph.com/terms/privacy">Sourcegraph Privacy Policy</Link>.
|
||||
</span>
|
||||
</Text>
|
||||
<div className="d-flex align-items-center justify-content-between">
|
||||
|
||||
@ -383,11 +383,7 @@ const SidebarNavigation: FC<SidebarNavigationProps> = props => {
|
||||
)}
|
||||
|
||||
{isSourcegraphDotCom && (
|
||||
<NavItemLink
|
||||
url="https://about.sourcegraph.com"
|
||||
external={true}
|
||||
onClick={handleNavigationClick}
|
||||
>
|
||||
<NavItemLink url="https://sourcegraph.com" external={true} onClick={handleNavigationClick}>
|
||||
About Sourcegraph
|
||||
</NavItemLink>
|
||||
)}
|
||||
|
||||
@ -135,7 +135,7 @@ export const NotebooksGettingStartedTab: React.FunctionComponent<
|
||||
<CallToActionBanner variant="filled">
|
||||
To create Notebooks across your team's private repositories,{' '}
|
||||
<Link
|
||||
to="https://about.sourcegraph.com"
|
||||
to="https://sourcegraph.com"
|
||||
onClick={() =>
|
||||
eventLogger.log('ClickedOnEnterpriseCTA', { location: 'NotebooksGettingStarted' })
|
||||
}
|
||||
|
||||
@ -94,7 +94,7 @@ const NoAuthWidgetContent: React.FC<NoAuhWidgetContentProps> = ({ type, telemetr
|
||||
<Text className="mb-2 mt-2">
|
||||
By registering, you agree to our{' '}
|
||||
<Link
|
||||
to="https://about.sourcegraph.com/terms"
|
||||
to="https://sourcegraph.com/terms"
|
||||
className={styles.termsLink}
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
@ -103,7 +103,7 @@ const NoAuthWidgetContent: React.FC<NoAuhWidgetContentProps> = ({ type, telemetr
|
||||
</Link>{' '}
|
||||
and{' '}
|
||||
<Link
|
||||
to="https://about.sourcegraph.com/terms/privacy"
|
||||
to="https://sourcegraph.com/terms/privacy"
|
||||
className={styles.termsLink}
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
|
||||
@ -303,7 +303,7 @@ export const AccessRequestsPage: React.FunctionComponent = () => {
|
||||
{!hasRemainingSeats && (
|
||||
<Alert variant="danger">
|
||||
No licenses remaining. To approve requests,{' '}
|
||||
<Link to="https://about.sourcegraph.com/pricing" target="_blank" rel="noopener">
|
||||
<Link to="https://sourcegraph.com/pricing" target="_blank" rel="noopener">
|
||||
purchase additional licenses
|
||||
</Link>{' '}
|
||||
or <Link to="/site-admin/users">remove inactive users</Link>.
|
||||
|
||||
@ -395,7 +395,7 @@ class SiteAdminConfigurationContent extends React.Component<Props, State> {
|
||||
<Alert key="cody-beta-notice" className={styles.alert} variant="info">
|
||||
By turning on completions for "Cody beta," you have read the{' '}
|
||||
<Link to="/help/cody">Cody Documentation</Link> and agree to the{' '}
|
||||
<Link to="https://about.sourcegraph.com/terms/cody-notice">Cody Notice and Usage Policy</Link>. In
|
||||
<Link to="https://sourcegraph.com/terms/cody-notice">Cody Notice and Usage Policy</Link>. In
|
||||
particular, some code snippets will be sent to a third-party language model provider when you use
|
||||
Cody questions.
|
||||
</Alert>
|
||||
|
||||
@ -89,8 +89,8 @@ export const SiteAdminRepositoriesPage: React.FunctionComponent<React.PropsWithC
|
||||
)}
|
||||
</H4>
|
||||
{licenseInfo.codeScaleExceededLimit ? <>You're about to reach the 100GiB storage limit. </> : <></>}
|
||||
Upgrade to <Link to="https://about.sourcegraph.com/pricing">Sourcegraph Enterprise</Link> for
|
||||
unlimited storage for your code.
|
||||
Upgrade to <Link to="https://sourcegraph.com/pricing">Sourcegraph Enterprise</Link> for unlimited
|
||||
storage for your code.
|
||||
</Alert>
|
||||
)}
|
||||
<SiteAdminRepositoriesContainer />
|
||||
|
||||
@ -60,7 +60,7 @@ const SiteUpdateCheck: React.FC = () => {
|
||||
Version {data.site.productVersion}{' '}
|
||||
<small className="text-muted">
|
||||
(
|
||||
<Link to="https://about.sourcegraph.com/changelog" target="_blank" rel="noopener">
|
||||
<Link to="https://sourcegraph.com/changelog" target="_blank" rel="noopener">
|
||||
changelog
|
||||
</Link>
|
||||
)
|
||||
|
||||
@ -161,7 +161,7 @@ export const AnalyticsNotebooksPage: React.FunctionComponent = () => {
|
||||
<div className={classNames(styles.border, 'mb-3')} />
|
||||
<ul className="mb-3 pl-3">
|
||||
<Text as="li">
|
||||
<AnchorLink to="https://about.sourcegraph.com/blog/notebooks-ci" target="_blank">
|
||||
<AnchorLink to="https://sourcegraph.com/blog/notebooks-ci" target="_blank">
|
||||
Learn more
|
||||
</AnchorLink>{' '}
|
||||
about how notebooks improves onboarding, code reuse and saves developers time.
|
||||
|
||||
@ -117,7 +117,7 @@ export const AnalyticsOverviewPage: React.FunctionComponent<Props> = () => {
|
||||
</>
|
||||
) : (
|
||||
<AnchorLink
|
||||
to="http://about.sourcegraph.com/contact/sales"
|
||||
to="http://sourcegraph.com/contact/sales"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
className="ml-1"
|
||||
|
||||
@ -154,7 +154,7 @@ exports[`SiteInitPage > normal 1`] = `
|
||||
By signing up, you agree to our
|
||||
<a
|
||||
class="anchorLink"
|
||||
href="https://about.sourcegraph.com/terms"
|
||||
href="https://sourcegraph.com/terms"
|
||||
rel="noopener"
|
||||
target="_blank"
|
||||
>
|
||||
@ -163,7 +163,7 @@ exports[`SiteInitPage > normal 1`] = `
|
||||
and
|
||||
<a
|
||||
class="anchorLink"
|
||||
href="https://about.sourcegraph.com/privacy"
|
||||
href="https://sourcegraph.com/privacy"
|
||||
rel="noopener"
|
||||
target="_blank"
|
||||
>
|
||||
|
||||
@ -14,7 +14,7 @@ export const FreeUsersExceededAlert: React.FunctionComponent<
|
||||
<Alert className={className} variant="danger">
|
||||
This Sourcegraph instance has reached{' '}
|
||||
{noLicenseWarningUserCount === null ? 'the limit for' : noLicenseWarningUserCount} free users, and an admin must{' '}
|
||||
<Link className="site-alert__link" to="https://about.sourcegraph.com/contact/sales">
|
||||
<Link className="site-alert__link" to="https://sourcegraph.com/contact/sales">
|
||||
<span className="underline">contact Sourcegraph to start a free trial or purchase a license</span>
|
||||
</Link>{' '}
|
||||
to add more
|
||||
|
||||
@ -35,7 +35,7 @@ export const LicenseExpirationAlert: React.FunctionComponent<
|
||||
<span className="underline">Renew now</span>
|
||||
</Link>
|
||||
or
|
||||
<Link className="site-alert__link" to="https://about.sourcegraph.com/contact">
|
||||
<Link className="site-alert__link" to="https://sourcegraph.com/contact">
|
||||
<span className="underline">contact Sourcegraph</span>
|
||||
</Link>
|
||||
</DismissibleAlert>
|
||||
|
||||
@ -24,7 +24,7 @@ exports[`LicenseExpirationAlert > expired 1`] = `
|
||||
or
|
||||
<a
|
||||
class="anchorLink site-alert__link"
|
||||
href="https://about.sourcegraph.com/contact"
|
||||
href="https://sourcegraph.com/contact"
|
||||
>
|
||||
<span
|
||||
class="underline"
|
||||
@ -80,7 +80,7 @@ exports[`LicenseExpirationAlert > expiring soon 1`] = `
|
||||
or
|
||||
<a
|
||||
class="anchorLink site-alert__link"
|
||||
href="https://about.sourcegraph.com/contact"
|
||||
href="https://sourcegraph.com/contact"
|
||||
>
|
||||
<span
|
||||
class="underline"
|
||||
|
||||
@ -98,8 +98,8 @@ export const TryCodyCtaSection: React.FC<TryCodyCtaSectionProps> = ({
|
||||
<MeetCodySVG />
|
||||
</div>
|
||||
<Text>
|
||||
<Link to="https://about.sourcegraph.com/cody?utm_source=server">Learn about Cody</Link>,
|
||||
Sourcegraph's AI coding assistant
|
||||
<Link to="https://sourcegraph.com/cody?utm_source=server">Learn about Cody</Link>, Sourcegraph's AI
|
||||
coding assistant
|
||||
</Text>
|
||||
<Button className={classNames(styles.closeButton, 'position-absolute m-0')} onClick={onDismiss}>
|
||||
<Icon svgPath={mdiClose} aria-label="Close try Cody widget" />
|
||||
|
||||
@ -30,7 +30,7 @@ export const userCookieSettings: CookieAttributes = {
|
||||
// However, we do need it on page redirects when users sign up via OAuth, hence using the Lax policy.
|
||||
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite
|
||||
sameSite: 'Lax',
|
||||
// Specify the Domain attribute to ensure subdomains (about.sourcegraph.com) can receive this cookie.
|
||||
// Specify the Domain attribute to ensure subdomains (sourcegraph.com) can receive this cookie.
|
||||
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies#define_where_cookies_are_sent
|
||||
domain: location.hostname,
|
||||
}
|
||||
@ -44,7 +44,7 @@ export const deviceSessionCookieSettings: CookieAttributes = {
|
||||
// However, we do need it on page redirects when users sign up via OAuth, hence using the Lax policy.
|
||||
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite
|
||||
sameSite: 'Lax',
|
||||
// Specify the Domain attribute to ensure subdomains (about.sourcegraph.com) can receive this cookie.
|
||||
// Specify the Domain attribute to ensure subdomains (sourcegraph.com) can receive this cookie.
|
||||
// https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies#define_where_cookies_are_sent
|
||||
domain: location.hostname,
|
||||
}
|
||||
|
||||
@ -56,7 +56,7 @@ export class UserTracker {
|
||||
cohortID = getPreviousMonday(new Date())
|
||||
}
|
||||
|
||||
// Use cookies instead of localStorage so that the ID can be shared with subdomains (about.sourcegraph.com).
|
||||
// Use cookies instead of localStorage so that the ID can be shared with subdomains (sourcegraph.com).
|
||||
// Always set to renew expiry and migrate from localStorage
|
||||
cookies.set(ANONYMOUS_USER_ID_KEY, anonymousUserID, userCookieSettings)
|
||||
localStorage.removeItem(ANONYMOUS_USER_ID_KEY)
|
||||
|
||||
@ -60,7 +60,7 @@ export const UserSettingsProfilePage: React.FunctionComponent<React.PropsWithChi
|
||||
after={
|
||||
window.context.sourcegraphDotComMode && (
|
||||
<Text className="mt-4">
|
||||
<Link to="https://about.sourcegraph.com/contact">Contact support</Link> to delete your
|
||||
<Link to="https://sourcegraph.com/contact">Contact support</Link> to delete your
|
||||
account.
|
||||
</Text>
|
||||
)
|
||||
|
||||
@ -46,7 +46,7 @@ export const ProductResearchPage: React.FunctionComponent<React.PropsWithChildre
|
||||
},
|
||||
{
|
||||
content: 'Join our Discord',
|
||||
path: 'https://about.sourcegraph.com/community',
|
||||
path: 'https://sourcegraph.com/community',
|
||||
},
|
||||
].map(({ content, path, variant }) => (
|
||||
<ButtonLink
|
||||
|
||||
@ -137,7 +137,7 @@ const FeedbackPromptContent: React.FunctionComponent<React.PropsWithChildren<Fee
|
||||
<Text className="d-flex align-items-center justify-content-between mt-2">
|
||||
<span>
|
||||
By submitting your feedback, you agree to the{' '}
|
||||
<Link to="https://about.sourcegraph.com/terms/privacy">Sourcegraph Privacy Policy</Link>.
|
||||
<Link to="https://sourcegraph.com/terms/privacy">Sourcegraph Privacy Policy</Link>.
|
||||
</span>
|
||||
</Text>
|
||||
<Button
|
||||
|
||||
@ -77,7 +77,7 @@ exports[`FeedbackPrompt > should render correctly 1`] = `
|
||||
|
||||
<a
|
||||
class="anchorLink"
|
||||
href="https://about.sourcegraph.com/terms/privacy"
|
||||
href="https://sourcegraph.com/terms/privacy"
|
||||
>
|
||||
Sourcegraph Privacy Policy
|
||||
</a>
|
||||
@ -200,7 +200,7 @@ exports[`FeedbackPrompt > should render submit error correctly 1`] = `
|
||||
|
||||
<a
|
||||
class="anchorLink"
|
||||
href="https://about.sourcegraph.com/terms/privacy"
|
||||
href="https://sourcegraph.com/terms/privacy"
|
||||
>
|
||||
Sourcegraph Privacy Policy
|
||||
</a>
|
||||
|
||||
@ -129,7 +129,7 @@ const navItems: NavMenuSectionProps[] = [
|
||||
{
|
||||
content: 'About Sourcegraph',
|
||||
suffixIcon: OpenInNewIcon,
|
||||
to: 'https://about.sourcegraph.com',
|
||||
to: 'https://sourcegraph.com',
|
||||
key: 'Sourcegraph',
|
||||
},
|
||||
{
|
||||
|
||||
@ -67,7 +67,7 @@ describe('<NavMenu />', () => {
|
||||
{
|
||||
content: 'About Sourcegraph',
|
||||
itemAs: AnchorLink,
|
||||
to: 'https://about.sourcegraph.com',
|
||||
to: 'https://sourcegraph.com',
|
||||
key: 6,
|
||||
},
|
||||
{
|
||||
|
||||
@ -137,7 +137,7 @@ exports[`<NavMenu /> > Should render Menu Items Correctly 1`] = `
|
||||
data-reach-menu-item=""
|
||||
data-reach-menu-link=""
|
||||
data-valuetext="About Sourcegraph"
|
||||
href="https://about.sourcegraph.com"
|
||||
href="https://sourcegraph.com"
|
||||
id="option-7--menu-test-id"
|
||||
role="menuitem"
|
||||
tabindex="-1"
|
||||
|
||||
@ -423,8 +423,8 @@ Visit this link in your browser to accept the invite: {{.InvitationUrl}}
|
||||
This link will expire in {{.ExpiryDays}} days. You are receiving this email because @{{.FromUserName}} invited you to an organization on Sourcegraph Cloud.
|
||||
|
||||
|
||||
To see our Terms of Service, please visit this link: https://about.sourcegraph.com/terms
|
||||
To see our Privacy Policy, please visit this link: https://about.sourcegraph.com/privacy
|
||||
To see our Terms of Service, please visit this link: https://sourcegraph.com/terms
|
||||
To see our Privacy Policy, please visit this link: https://sourcegraph.com/privacy
|
||||
|
||||
Sourcegraph, 981 Mission St, San Francisco, CA 94103, USA
|
||||
`,
|
||||
@ -464,8 +464,8 @@ Sourcegraph, 981 Mission St, San Francisco, CA 94103, USA
|
||||
This link will expire in {{.ExpiryDays}} days. You are receiving this email because @{{.FromUserName}} invited you to an organization on Sourcegraph Cloud.
|
||||
</p>
|
||||
<p class="mtl">
|
||||
<a href="https://about.sourcegraph.com/terms">Terms</a> •
|
||||
<a href="https://about.sourcegraph.com/privacy">Privacy</a>
|
||||
<a href="https://sourcegraph.com/terms">Terms</a> •
|
||||
<a href="https://sourcegraph.com/privacy">Privacy</a>
|
||||
</p>
|
||||
<p>Sourcegraph, 981 Mission St, San Francisco, CA 94103, USA</p>
|
||||
</small>
|
||||
|
||||
@ -208,12 +208,12 @@ func storageLimitReachedAlert(args AlertFuncArgs) []*Alert {
|
||||
if licenseInfo.CodeScaleCloseToLimit {
|
||||
return []*Alert{{
|
||||
TypeValue: AlertTypeWarning,
|
||||
MessageValue: "You're about to reach the 100GiB storage limit. Upgrade to [Sourcegraph Enterprise](https://about.sourcegraph.com/pricing) for unlimited storage for your code.",
|
||||
MessageValue: "You're about to reach the 100GiB storage limit. Upgrade to [Sourcegraph Enterprise](https://sourcegraph.com/pricing) for unlimited storage for your code.",
|
||||
}}
|
||||
} else if licenseInfo.CodeScaleExceededLimit {
|
||||
return []*Alert{{
|
||||
TypeValue: AlertTypeError,
|
||||
MessageValue: "You've used all 100GiB of storage. Upgrade to [Sourcegraph Enterprise](https://about.sourcegraph.com/pricing) for unlimited storage for your code.",
|
||||
MessageValue: "You've used all 100GiB of storage. Upgrade to [Sourcegraph Enterprise](https://sourcegraph.com/pricing) for unlimited storage for your code.",
|
||||
}}
|
||||
}
|
||||
return nil
|
||||
@ -242,7 +242,7 @@ func updateAvailableAlert(args AlertFuncArgs) []*Alert {
|
||||
if !args.ViewerFinalSettings.AlertsShowMajorMinorUpdates && isMinorUpdateAvailable(version.Version(), globalUpdateStatus.UpdateVersion) {
|
||||
return nil
|
||||
}
|
||||
message := fmt.Sprintf("An update is available: [Sourcegraph v%s](https://about.sourcegraph.com/blog) - [changelog](https://about.sourcegraph.com/changelog)", globalUpdateStatus.UpdateVersion)
|
||||
message := fmt.Sprintf("An update is available: [Sourcegraph v%s](https://sourcegraph.com/blog) - [changelog](https://sourcegraph.com/changelog)", globalUpdateStatus.UpdateVersion)
|
||||
|
||||
// dismission key includes the version so after it is dismissed the alert comes back for the next update.
|
||||
key := "update-available-" + globalUpdateStatus.UpdateVersion
|
||||
@ -323,19 +323,19 @@ func determineOutOfDateAlert(isAdmin bool, months int, offline bool) *Alert {
|
||||
key := fmt.Sprintf("months-out-of-date-%d", months)
|
||||
switch {
|
||||
case months < 3:
|
||||
message := fmt.Sprintf("Sourcegraph is %d+ months out of date, for the latest features and bug fixes please upgrade ([changelog](http://about.sourcegraph.com/changelog))", months)
|
||||
message := fmt.Sprintf("Sourcegraph is %d+ months out of date, for the latest features and bug fixes please upgrade ([changelog](http://sourcegraph.com/changelog))", months)
|
||||
return &Alert{TypeValue: AlertTypeInfo, MessageValue: message, IsDismissibleWithKeyValue: key}
|
||||
case months == 3:
|
||||
message := "Sourcegraph is 3+ months out of date, you may be missing important security or bug fixes. Users will be notified at 4+ months. ([changelog](http://about.sourcegraph.com/changelog))"
|
||||
message := "Sourcegraph is 3+ months out of date, you may be missing important security or bug fixes. Users will be notified at 4+ months. ([changelog](http://sourcegraph.com/changelog))"
|
||||
return &Alert{TypeValue: AlertTypeWarning, MessageValue: message}
|
||||
case months == 4:
|
||||
message := "Sourcegraph is 4+ months out of date, you may be missing important security or bug fixes. A notice is shown to users. ([changelog](http://about.sourcegraph.com/changelog))"
|
||||
message := "Sourcegraph is 4+ months out of date, you may be missing important security or bug fixes. A notice is shown to users. ([changelog](http://sourcegraph.com/changelog))"
|
||||
return &Alert{TypeValue: AlertTypeWarning, MessageValue: message}
|
||||
case months == 5:
|
||||
message := "Sourcegraph is 5+ months out of date, you may be missing important security or bug fixes. A notice is shown to users. ([changelog](http://about.sourcegraph.com/changelog))"
|
||||
message := "Sourcegraph is 5+ months out of date, you may be missing important security or bug fixes. A notice is shown to users. ([changelog](http://sourcegraph.com/changelog))"
|
||||
return &Alert{TypeValue: AlertTypeError, MessageValue: message}
|
||||
default:
|
||||
message := fmt.Sprintf("Sourcegraph is %d+ months out of date, you may be missing important security or bug fixes. A notice is shown to users. ([changelog](http://about.sourcegraph.com/changelog))", months)
|
||||
message := fmt.Sprintf("Sourcegraph is %d+ months out of date, you may be missing important security or bug fixes. A notice is shown to users. ([changelog](http://sourcegraph.com/changelog))", months)
|
||||
return &Alert{TypeValue: AlertTypeError, MessageValue: message}
|
||||
}
|
||||
}
|
||||
@ -345,14 +345,14 @@ func determineOutOfDateAlert(isAdmin bool, months int, offline bool) *Alert {
|
||||
case 0, 1, 2, 3:
|
||||
return nil
|
||||
case 4, 5:
|
||||
message := fmt.Sprintf("Sourcegraph is %d+ months out of date, ask your site administrator to upgrade for the latest features and bug fixes. ([changelog](http://about.sourcegraph.com/changelog))", months)
|
||||
message := fmt.Sprintf("Sourcegraph is %d+ months out of date, ask your site administrator to upgrade for the latest features and bug fixes. ([changelog](http://sourcegraph.com/changelog))", months)
|
||||
return &Alert{TypeValue: AlertTypeWarning, MessageValue: message, IsDismissibleWithKeyValue: key}
|
||||
default:
|
||||
alertType := AlertTypeWarning
|
||||
if months > 12 {
|
||||
alertType = AlertTypeError
|
||||
}
|
||||
message := fmt.Sprintf("Sourcegraph is %d+ months out of date, you may be missing important security or bug fixes. Ask your site administrator to upgrade. ([changelog](http://about.sourcegraph.com/changelog))", months)
|
||||
message := fmt.Sprintf("Sourcegraph is %d+ months out of date, you may be missing important security or bug fixes. Ask your site administrator to upgrade. ([changelog](http://sourcegraph.com/changelog))", months)
|
||||
return &Alert{TypeValue: alertType, MessageValue: message, IsDismissibleWithKeyValue: key}
|
||||
}
|
||||
}
|
||||
|
||||
@ -25,58 +25,58 @@ func Test_determineOutOfDateAlert(t *testing.T) {
|
||||
{
|
||||
name: "1_months",
|
||||
monthsOutOfDate: 1,
|
||||
wantOfflineAdmin: &Alert{TypeValue: AlertTypeInfo, MessageValue: "Sourcegraph is 1+ months out of date, for the latest features and bug fixes please upgrade ([changelog](http://about.sourcegraph.com/changelog))", IsDismissibleWithKeyValue: "months-out-of-date-1"},
|
||||
wantOfflineAdmin: &Alert{TypeValue: AlertTypeInfo, MessageValue: "Sourcegraph is 1+ months out of date, for the latest features and bug fixes please upgrade ([changelog](http://sourcegraph.com/changelog))", IsDismissibleWithKeyValue: "months-out-of-date-1"},
|
||||
},
|
||||
{
|
||||
name: "2_months",
|
||||
monthsOutOfDate: 2,
|
||||
wantOfflineAdmin: &Alert{TypeValue: AlertTypeInfo, MessageValue: "Sourcegraph is 2+ months out of date, for the latest features and bug fixes please upgrade ([changelog](http://about.sourcegraph.com/changelog))", IsDismissibleWithKeyValue: "months-out-of-date-2"},
|
||||
wantOfflineAdmin: &Alert{TypeValue: AlertTypeInfo, MessageValue: "Sourcegraph is 2+ months out of date, for the latest features and bug fixes please upgrade ([changelog](http://sourcegraph.com/changelog))", IsDismissibleWithKeyValue: "months-out-of-date-2"},
|
||||
},
|
||||
{
|
||||
name: "3_months",
|
||||
monthsOutOfDate: 3,
|
||||
wantOfflineAdmin: &Alert{TypeValue: AlertTypeWarning, MessageValue: "Sourcegraph is 3+ months out of date, you may be missing important security or bug fixes. Users will be notified at 4+ months. ([changelog](http://about.sourcegraph.com/changelog))"},
|
||||
wantOnlineAdmin: &Alert{TypeValue: AlertTypeWarning, MessageValue: "Sourcegraph is 3+ months out of date, you may be missing important security or bug fixes. Users will be notified at 4+ months. ([changelog](http://about.sourcegraph.com/changelog))"},
|
||||
wantOfflineAdmin: &Alert{TypeValue: AlertTypeWarning, MessageValue: "Sourcegraph is 3+ months out of date, you may be missing important security or bug fixes. Users will be notified at 4+ months. ([changelog](http://sourcegraph.com/changelog))"},
|
||||
wantOnlineAdmin: &Alert{TypeValue: AlertTypeWarning, MessageValue: "Sourcegraph is 3+ months out of date, you may be missing important security or bug fixes. Users will be notified at 4+ months. ([changelog](http://sourcegraph.com/changelog))"},
|
||||
},
|
||||
{
|
||||
name: "4_months",
|
||||
monthsOutOfDate: 4,
|
||||
wantOffline: &Alert{TypeValue: AlertTypeWarning, MessageValue: "Sourcegraph is 4+ months out of date, ask your site administrator to upgrade for the latest features and bug fixes. ([changelog](http://about.sourcegraph.com/changelog))", IsDismissibleWithKeyValue: "months-out-of-date-4"},
|
||||
wantOnline: &Alert{TypeValue: AlertTypeWarning, MessageValue: "Sourcegraph is 4+ months out of date, ask your site administrator to upgrade for the latest features and bug fixes. ([changelog](http://about.sourcegraph.com/changelog))", IsDismissibleWithKeyValue: "months-out-of-date-4"},
|
||||
wantOfflineAdmin: &Alert{TypeValue: AlertTypeWarning, MessageValue: "Sourcegraph is 4+ months out of date, you may be missing important security or bug fixes. A notice is shown to users. ([changelog](http://about.sourcegraph.com/changelog))"},
|
||||
wantOnlineAdmin: &Alert{TypeValue: AlertTypeWarning, MessageValue: "Sourcegraph is 4+ months out of date, you may be missing important security or bug fixes. A notice is shown to users. ([changelog](http://about.sourcegraph.com/changelog))"},
|
||||
wantOffline: &Alert{TypeValue: AlertTypeWarning, MessageValue: "Sourcegraph is 4+ months out of date, ask your site administrator to upgrade for the latest features and bug fixes. ([changelog](http://sourcegraph.com/changelog))", IsDismissibleWithKeyValue: "months-out-of-date-4"},
|
||||
wantOnline: &Alert{TypeValue: AlertTypeWarning, MessageValue: "Sourcegraph is 4+ months out of date, ask your site administrator to upgrade for the latest features and bug fixes. ([changelog](http://sourcegraph.com/changelog))", IsDismissibleWithKeyValue: "months-out-of-date-4"},
|
||||
wantOfflineAdmin: &Alert{TypeValue: AlertTypeWarning, MessageValue: "Sourcegraph is 4+ months out of date, you may be missing important security or bug fixes. A notice is shown to users. ([changelog](http://sourcegraph.com/changelog))"},
|
||||
wantOnlineAdmin: &Alert{TypeValue: AlertTypeWarning, MessageValue: "Sourcegraph is 4+ months out of date, you may be missing important security or bug fixes. A notice is shown to users. ([changelog](http://sourcegraph.com/changelog))"},
|
||||
},
|
||||
{
|
||||
name: "5_months",
|
||||
monthsOutOfDate: 5,
|
||||
wantOffline: &Alert{TypeValue: AlertTypeWarning, MessageValue: "Sourcegraph is 5+ months out of date, ask your site administrator to upgrade for the latest features and bug fixes. ([changelog](http://about.sourcegraph.com/changelog))", IsDismissibleWithKeyValue: "months-out-of-date-5"},
|
||||
wantOnline: &Alert{TypeValue: AlertTypeWarning, MessageValue: "Sourcegraph is 5+ months out of date, ask your site administrator to upgrade for the latest features and bug fixes. ([changelog](http://about.sourcegraph.com/changelog))", IsDismissibleWithKeyValue: "months-out-of-date-5"},
|
||||
wantOfflineAdmin: &Alert{TypeValue: AlertTypeError, MessageValue: "Sourcegraph is 5+ months out of date, you may be missing important security or bug fixes. A notice is shown to users. ([changelog](http://about.sourcegraph.com/changelog))"},
|
||||
wantOnlineAdmin: &Alert{TypeValue: AlertTypeError, MessageValue: "Sourcegraph is 5+ months out of date, you may be missing important security or bug fixes. A notice is shown to users. ([changelog](http://about.sourcegraph.com/changelog))"},
|
||||
wantOffline: &Alert{TypeValue: AlertTypeWarning, MessageValue: "Sourcegraph is 5+ months out of date, ask your site administrator to upgrade for the latest features and bug fixes. ([changelog](http://sourcegraph.com/changelog))", IsDismissibleWithKeyValue: "months-out-of-date-5"},
|
||||
wantOnline: &Alert{TypeValue: AlertTypeWarning, MessageValue: "Sourcegraph is 5+ months out of date, ask your site administrator to upgrade for the latest features and bug fixes. ([changelog](http://sourcegraph.com/changelog))", IsDismissibleWithKeyValue: "months-out-of-date-5"},
|
||||
wantOfflineAdmin: &Alert{TypeValue: AlertTypeError, MessageValue: "Sourcegraph is 5+ months out of date, you may be missing important security or bug fixes. A notice is shown to users. ([changelog](http://sourcegraph.com/changelog))"},
|
||||
wantOnlineAdmin: &Alert{TypeValue: AlertTypeError, MessageValue: "Sourcegraph is 5+ months out of date, you may be missing important security or bug fixes. A notice is shown to users. ([changelog](http://sourcegraph.com/changelog))"},
|
||||
},
|
||||
{
|
||||
name: "6_months",
|
||||
monthsOutOfDate: 6,
|
||||
wantOffline: &Alert{TypeValue: AlertTypeWarning, MessageValue: "Sourcegraph is 6+ months out of date, you may be missing important security or bug fixes. Ask your site administrator to upgrade. ([changelog](http://about.sourcegraph.com/changelog))", IsDismissibleWithKeyValue: "months-out-of-date-6"},
|
||||
wantOnline: &Alert{TypeValue: AlertTypeWarning, MessageValue: "Sourcegraph is 6+ months out of date, you may be missing important security or bug fixes. Ask your site administrator to upgrade. ([changelog](http://about.sourcegraph.com/changelog))", IsDismissibleWithKeyValue: "months-out-of-date-6"},
|
||||
wantOfflineAdmin: &Alert{TypeValue: AlertTypeError, MessageValue: "Sourcegraph is 6+ months out of date, you may be missing important security or bug fixes. A notice is shown to users. ([changelog](http://about.sourcegraph.com/changelog))"},
|
||||
wantOnlineAdmin: &Alert{TypeValue: AlertTypeError, MessageValue: "Sourcegraph is 6+ months out of date, you may be missing important security or bug fixes. A notice is shown to users. ([changelog](http://about.sourcegraph.com/changelog))"},
|
||||
wantOffline: &Alert{TypeValue: AlertTypeWarning, MessageValue: "Sourcegraph is 6+ months out of date, you may be missing important security or bug fixes. Ask your site administrator to upgrade. ([changelog](http://sourcegraph.com/changelog))", IsDismissibleWithKeyValue: "months-out-of-date-6"},
|
||||
wantOnline: &Alert{TypeValue: AlertTypeWarning, MessageValue: "Sourcegraph is 6+ months out of date, you may be missing important security or bug fixes. Ask your site administrator to upgrade. ([changelog](http://sourcegraph.com/changelog))", IsDismissibleWithKeyValue: "months-out-of-date-6"},
|
||||
wantOfflineAdmin: &Alert{TypeValue: AlertTypeError, MessageValue: "Sourcegraph is 6+ months out of date, you may be missing important security or bug fixes. A notice is shown to users. ([changelog](http://sourcegraph.com/changelog))"},
|
||||
wantOnlineAdmin: &Alert{TypeValue: AlertTypeError, MessageValue: "Sourcegraph is 6+ months out of date, you may be missing important security or bug fixes. A notice is shown to users. ([changelog](http://sourcegraph.com/changelog))"},
|
||||
},
|
||||
{
|
||||
name: "7_months",
|
||||
monthsOutOfDate: 7,
|
||||
wantOffline: &Alert{TypeValue: AlertTypeWarning, MessageValue: "Sourcegraph is 7+ months out of date, you may be missing important security or bug fixes. Ask your site administrator to upgrade. ([changelog](http://about.sourcegraph.com/changelog))", IsDismissibleWithKeyValue: "months-out-of-date-7"},
|
||||
wantOnline: &Alert{TypeValue: AlertTypeWarning, MessageValue: "Sourcegraph is 7+ months out of date, you may be missing important security or bug fixes. Ask your site administrator to upgrade. ([changelog](http://about.sourcegraph.com/changelog))", IsDismissibleWithKeyValue: "months-out-of-date-7"},
|
||||
wantOfflineAdmin: &Alert{TypeValue: AlertTypeError, MessageValue: "Sourcegraph is 7+ months out of date, you may be missing important security or bug fixes. A notice is shown to users. ([changelog](http://about.sourcegraph.com/changelog))"},
|
||||
wantOnlineAdmin: &Alert{TypeValue: AlertTypeError, MessageValue: "Sourcegraph is 7+ months out of date, you may be missing important security or bug fixes. A notice is shown to users. ([changelog](http://about.sourcegraph.com/changelog))"},
|
||||
wantOffline: &Alert{TypeValue: AlertTypeWarning, MessageValue: "Sourcegraph is 7+ months out of date, you may be missing important security or bug fixes. Ask your site administrator to upgrade. ([changelog](http://sourcegraph.com/changelog))", IsDismissibleWithKeyValue: "months-out-of-date-7"},
|
||||
wantOnline: &Alert{TypeValue: AlertTypeWarning, MessageValue: "Sourcegraph is 7+ months out of date, you may be missing important security or bug fixes. Ask your site administrator to upgrade. ([changelog](http://sourcegraph.com/changelog))", IsDismissibleWithKeyValue: "months-out-of-date-7"},
|
||||
wantOfflineAdmin: &Alert{TypeValue: AlertTypeError, MessageValue: "Sourcegraph is 7+ months out of date, you may be missing important security or bug fixes. A notice is shown to users. ([changelog](http://sourcegraph.com/changelog))"},
|
||||
wantOnlineAdmin: &Alert{TypeValue: AlertTypeError, MessageValue: "Sourcegraph is 7+ months out of date, you may be missing important security or bug fixes. A notice is shown to users. ([changelog](http://sourcegraph.com/changelog))"},
|
||||
},
|
||||
{
|
||||
name: "13_months",
|
||||
monthsOutOfDate: 13,
|
||||
wantOffline: &Alert{TypeValue: AlertTypeError, MessageValue: "Sourcegraph is 13+ months out of date, you may be missing important security or bug fixes. Ask your site administrator to upgrade. ([changelog](http://about.sourcegraph.com/changelog))", IsDismissibleWithKeyValue: "months-out-of-date-13"},
|
||||
wantOnline: &Alert{TypeValue: AlertTypeError, MessageValue: "Sourcegraph is 13+ months out of date, you may be missing important security or bug fixes. Ask your site administrator to upgrade. ([changelog](http://about.sourcegraph.com/changelog))", IsDismissibleWithKeyValue: "months-out-of-date-13"},
|
||||
wantOfflineAdmin: &Alert{TypeValue: AlertTypeError, MessageValue: "Sourcegraph is 13+ months out of date, you may be missing important security or bug fixes. A notice is shown to users. ([changelog](http://about.sourcegraph.com/changelog))"},
|
||||
wantOnlineAdmin: &Alert{TypeValue: AlertTypeError, MessageValue: "Sourcegraph is 13+ months out of date, you may be missing important security or bug fixes. A notice is shown to users. ([changelog](http://about.sourcegraph.com/changelog))"},
|
||||
wantOffline: &Alert{TypeValue: AlertTypeError, MessageValue: "Sourcegraph is 13+ months out of date, you may be missing important security or bug fixes. Ask your site administrator to upgrade. ([changelog](http://sourcegraph.com/changelog))", IsDismissibleWithKeyValue: "months-out-of-date-13"},
|
||||
wantOnline: &Alert{TypeValue: AlertTypeError, MessageValue: "Sourcegraph is 13+ months out of date, you may be missing important security or bug fixes. Ask your site administrator to upgrade. ([changelog](http://sourcegraph.com/changelog))", IsDismissibleWithKeyValue: "months-out-of-date-13"},
|
||||
wantOfflineAdmin: &Alert{TypeValue: AlertTypeError, MessageValue: "Sourcegraph is 13+ months out of date, you may be missing important security or bug fixes. A notice is shown to users. ([changelog](http://sourcegraph.com/changelog))"},
|
||||
wantOnlineAdmin: &Alert{TypeValue: AlertTypeError, MessageValue: "Sourcegraph is 13+ months out of date, you may be missing important security or bug fixes. A notice is shown to users. ([changelog](http://sourcegraph.com/changelog))"},
|
||||
},
|
||||
}
|
||||
for _, tst := range tests {
|
||||
|
||||
@ -57,7 +57,7 @@ func NewHandler(db database.DB, logger log.Logger, githubAppSetupHandler http.Ha
|
||||
})))
|
||||
|
||||
r.Get(router.GopherconLiveBlog).Handler(trace.Route(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
http.Redirect(w, r, "https://about.sourcegraph.com/go", http.StatusFound)
|
||||
http.Redirect(w, r, "https://sourcegraph.com/go", http.StatusFound)
|
||||
})))
|
||||
|
||||
r.Get(router.UI).Handler(ui.Router())
|
||||
|
||||
@ -52,7 +52,7 @@ const (
|
||||
|
||||
routeAboutSubdomain = "about-subdomain"
|
||||
aboutRedirectScheme = "https"
|
||||
aboutRedirectHost = "about.sourcegraph.com"
|
||||
aboutRedirectHost = "sourcegraph.com"
|
||||
|
||||
// Legacy redirects
|
||||
routeLegacyLogin = "login"
|
||||
@ -61,7 +61,7 @@ const (
|
||||
)
|
||||
|
||||
// aboutRedirects contains map entries, each of which indicates that
|
||||
// sourcegraph.com/$KEY should redirect to about.sourcegraph.com/$VALUE.
|
||||
// sourcegraph.com/$KEY should redirect to sourcegraph.com/$VALUE.
|
||||
var aboutRedirects = map[string]string{
|
||||
"about": "about",
|
||||
"blog": "blog",
|
||||
@ -201,7 +201,7 @@ func InitRouter(db database.DB) {
|
||||
r.Path("/search/badge").Methods("GET").Name(routeSearchBadge).Handler(searchBadgeHandler())
|
||||
|
||||
if envvar.SourcegraphDotComMode() {
|
||||
// about.sourcegraph.com subdomain
|
||||
// sourcegraph.com subdomain
|
||||
r.Path("/{Path:(?:" + strings.Join(mapKeys(aboutRedirects), "|") + ")}").Methods("GET").
|
||||
Name(routeAboutSubdomain).
|
||||
Handler(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
@ -222,7 +222,7 @@ func InitRouter(db database.DB) {
|
||||
|
||||
// legacy routes
|
||||
r.Path("/login").Methods("GET").Name(routeLegacyLogin).Handler(staticRedirectHandler("/sign-in", http.StatusMovedPermanently))
|
||||
r.Path("/careers").Methods("GET").Name(routeLegacyCareers).Handler(staticRedirectHandler("https://about.sourcegraph.com/jobs", http.StatusMovedPermanently))
|
||||
r.Path("/careers").Methods("GET").Name(routeLegacyCareers).Handler(staticRedirectHandler("https://sourcegraph.com/jobs", http.StatusMovedPermanently))
|
||||
|
||||
r.PathPrefix("/extensions").Methods("GET").Name("extensions").
|
||||
HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
@ -122,7 +122,7 @@ func TestRouter(t *testing.T) {
|
||||
wantVars: map[string]string{"Repo": "r", "Rev": "@v", "Path": "/d/f"},
|
||||
},
|
||||
|
||||
// about.sourcegraph.com redirects
|
||||
// sourcegraph.com redirects
|
||||
{
|
||||
path: "/about",
|
||||
wantRoute: routeAboutSubdomain,
|
||||
@ -263,7 +263,7 @@ func TestRouter_RootPath(t *testing.T) {
|
||||
if rec.Code != http.StatusTemporaryRedirect {
|
||||
t.Fatalf("got code %v want %v", rec.Code, http.StatusTemporaryRedirect)
|
||||
}
|
||||
wantLoc := "https://about.sourcegraph.com/" + string(tst.repo)
|
||||
wantLoc := "https://sourcegraph.com/" + string(tst.repo)
|
||||
if got := rec.Header().Get("Location"); got != wantLoc {
|
||||
t.Fatalf("got location %q want location %q", got, wantLoc)
|
||||
}
|
||||
|
||||
@ -65,5 +65,5 @@ h1 {
|
||||
<meta name="robots" content="noindex">
|
||||
<body>
|
||||
<div class=bg></div>
|
||||
<div class=msg><h1>`+html.EscapeString(title)+`</h1><p>`+html.EscapeString(message)+`</p><p>See <a href="https://about.sourcegraph.com/pricing">about.sourcegraph.com</a> for more information.</p></div>`)
|
||||
<div class=msg><h1>`+html.EscapeString(title)+`</h1><p>`+html.EscapeString(message)+`</p><p>See <a href="https://sourcegraph.com/pricing">sourcegraph.com</a> for more information.</p></div>`)
|
||||
}
|
||||
|
||||
@ -63,9 +63,9 @@ func NewBeforeCreateUserHook() func(context.Context, database.DB, *extsvc.Accoun
|
||||
} else {
|
||||
message := "Unable to create user account: "
|
||||
if info == nil {
|
||||
message += fmt.Sprintf("a Sourcegraph subscription is required to exceed %d users (this instance now has %d users). Contact Sourcegraph to learn more at https://about.sourcegraph.com/contact/sales.", licensing.NoLicenseMaximumAllowedUserCount, userCount)
|
||||
message += fmt.Sprintf("a Sourcegraph subscription is required to exceed %d users (this instance now has %d users). Contact Sourcegraph to learn more at https://sourcegraph.com/contact/sales.", licensing.NoLicenseMaximumAllowedUserCount, userCount)
|
||||
} else {
|
||||
message += "the Sourcegraph subscription's maximum user count has been reached. A site admin must upgrade the Sourcegraph subscription to allow for more users. Contact Sourcegraph at https://about.sourcegraph.com/contact/sales."
|
||||
message += "the Sourcegraph subscription's maximum user count has been reached. A site admin must upgrade the Sourcegraph subscription to allow for more users. Contact Sourcegraph at https://sourcegraph.com/contact/sales."
|
||||
}
|
||||
return errcode.NewPresentationError(message)
|
||||
}
|
||||
|
||||
@ -926,7 +926,7 @@ interactions:
|
||||
\t\"github.com/sourcegraph/sourcegraph/cmd/frontend/internal/auth/userpasswd\"\n
|
||||
\tregistry \"github.com/sourcegraph/sourcegraph/cmd/frontend/registry/api\"\n
|
||||
\n@@ -49,10 +48,6 @@ func NewHandler(db database.DB) http.Handler {\n \t\thttp.Redirect(w,
|
||||
r, \"https://about.sourcegraph.com/go\", http.StatusFound)\n \t})))\n \n-\tif
|
||||
r, \"https://sourcegraph.com/go\", http.StatusFound)\n \t})))\n \n-\tif
|
||||
envvar.SourcegraphDotComMode() {\n-\t\tr.Get(router.GoSymbolURL).Handler(trace.Route(errorutil.Handler(serveGoSymbolURL(db))))\n-\t}\n-\n
|
||||
\tr.Get(router.UI).Handler(ui.Router())\n \n \tr.Get(router.SignUp).Handler(trace.Route(userpasswd.HandleSignUp(db)))\n@@
|
||||
-73,7 +68,6 @@ func NewHandler(db database.DB) http.Handler {\n \t// Ping retrieval\n
|
||||
|
||||
@ -37,7 +37,7 @@ fi
|
||||
|
||||
parallel_run "${MAYBE_TIME_PREFIX}" {} ::: "${CHECKS[@]}"
|
||||
|
||||
# TODO(sqs): Reenable this check when about.sourcegraph.com is reliable. Most failures come from its
|
||||
# TODO(sqs): Reenable this check when sourcegraph.com is reliable. Most failures come from its
|
||||
# downtime, not from broken URLs.
|
||||
#
|
||||
# ./broken-urls.bash
|
||||
|
||||
@ -11,7 +11,7 @@ if [[ -n "$BUILDKITE_BRANCH" ]]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
URL_MATCHES=$(git grep -h -e https://about.sourcegraph.com --and --not -e '^\s*//' --and --not -e 'CI\:URL_OK' -- '*.go' '*.js' '*.jsx' '*.ts' '*.tsx' '*.json' ':(exclude)vendor' ':(exclude)*testdata*' | grep -Eo 'https://about.sourcegraph.com[^'"'"'`)>" ]+' | sed 's/\.$//' | sort -u)
|
||||
URL_MATCHES=$(git grep -h -e https://sourcegraph.com --and --not -e '^\s*//' --and --not -e 'CI\:URL_OK' -- '*.go' '*.js' '*.jsx' '*.ts' '*.tsx' '*.json' ':(exclude)vendor' ':(exclude)*testdata*' | grep -Eo 'https://sourcegraph.com[^'"'"'`)>" ]+' | sed 's/\.$//' | sort -u)
|
||||
|
||||
for url in $URL_MATCHES; do
|
||||
if ! curl -fsSL -o /dev/null --max-time 5 --retry 3 --retry-max-time 5 --retry-delay 1 "$url"; then
|
||||
@ -23,7 +23,7 @@ done
|
||||
|
||||
if [ -n "$BAD_URLS" ]; then
|
||||
echo
|
||||
echo "Error: Found broken about.sourcegraph.com URLs:"
|
||||
echo "Error: Found broken sourcegraph.com URLs:"
|
||||
echo "$BAD_URLS" | sed 's/ /\n/g' | sed 's/^/ /'
|
||||
|
||||
cat <<EOF
|
||||
|
||||
@ -669,7 +669,7 @@ export async function createLatestRelease(
|
||||
}
|
||||
|
||||
const updateURL = 'https://docs.sourcegraph.com/admin/updates'
|
||||
const releasePostURL = `https://about.sourcegraph.com/blog/release/${release.major}.${release.minor}` // CI:URL_OK
|
||||
const releasePostURL = `https://sourcegraph.com/blog/release/${release.major}.${release.minor}` // CI:URL_OK
|
||||
|
||||
const request: Octokit.RequestOptions & Octokit.ReposCreateReleaseParams = {
|
||||
owner,
|
||||
|
||||
@ -1,75 +1,75 @@
|
||||
/dev/roadmap https://about.sourcegraph.com/direction 308
|
||||
/dev/roadmap https://sourcegraph.com/direction 308
|
||||
/dev/code_reviews https://docs.sourcegraph.com/dev/background-information/code_reviews 308
|
||||
/dev/conduct https://about.sourcegraph.com/community/code_of_conduct 308
|
||||
/dev/devrel_release_issue_template https://about.sourcegraph.com/handbook/marketing/developer-relations/release_issue_template 308
|
||||
/dev/documentation/separate_website https://about.sourcegraph.com/handbook/engineering/distribution/separate_website 308
|
||||
/dev/documentation/site https://about.sourcegraph.com/handbook/engineering/distribution/update_sourcegraph_website 308
|
||||
/dev/documentation/structure https://about.sourcegraph.com/handbook/engineering/product_documentation 308
|
||||
/dev/documentation/style_guide https://about.sourcegraph.com/handbook/engineering/product_documentation 308
|
||||
/dev/faq https://about.sourcegraph.com/community/faq 308
|
||||
/dev/conduct https://sourcegraph.com/community/code_of_conduct 308
|
||||
/dev/devrel_release_issue_template https://sourcegraph.com/handbook/marketing/developer-relations/release_issue_template 308
|
||||
/dev/documentation/separate_website https://sourcegraph.com/handbook/engineering/distribution/separate_website 308
|
||||
/dev/documentation/site https://sourcegraph.com/handbook/engineering/distribution/update_sourcegraph_website 308
|
||||
/dev/documentation/structure https://sourcegraph.com/handbook/engineering/product_documentation 308
|
||||
/dev/documentation/style_guide https://sourcegraph.com/handbook/engineering/product_documentation 308
|
||||
/dev/faq https://sourcegraph.com/community/faq 308
|
||||
/dev/go_style_guide https://docs.sourcegraph.com/dev/background-information/languages/go 308
|
||||
/dev/incidents https://about.sourcegraph.com/handbook/engineering/incidents 308
|
||||
/dev/open_source_open_company https://about.sourcegraph.com/company#sourcegraph-open-product-open-company-open-source 308
|
||||
/dev/patch_release_issue_template https://about.sourcegraph.com/handbook/engineering/releases/patch_release_issue_template 308
|
||||
/dev/product https://about.sourcegraph.com/handbook/product 308
|
||||
/dev/product/personas https://about.sourcegraph.com/handbook/marketing/personas 308
|
||||
/dev/release_issue_template https://about.sourcegraph.com/handbook/engineering/releases/release_issue_template 308
|
||||
/dev/releases https://about.sourcegraph.com/handbook/engineering/releases 308
|
||||
/dev/retrospectives/3_0 https://about.sourcegraph.com/handbook/retrospectives/3_0 308
|
||||
/dev/retrospectives/3_0_beta https://about.sourcegraph.com/handbook/retrospectives/3_0_beta 308
|
||||
/dev/retrospectives/3_2 https://about.sourcegraph.com/retrospectives/3_2 308
|
||||
/dev/retrospectives/3_3 https://about.sourcegraph.com/retrospectives/3_3 308
|
||||
/dev/retrospectives/3_4 https://about.sourcegraph.com/retrospectives/3_4 308
|
||||
/dev/retrospectives/3_5 https://about.sourcegraph.com/retrospectives/3_5 308
|
||||
/dev/retrospectives/3_6 https://about.sourcegraph.com/retrospectives/3_6 308
|
||||
/dev/retrospectives/3_7 https://about.sourcegraph.com/retrospectives/3_7 308
|
||||
/dev/retrospectives/3_8 https://about.sourcegraph.com/retrospectives/3_8 308
|
||||
/dev/retrospectives/3_9 https://about.sourcegraph.com/retrospectives/3_9 308
|
||||
/dev/retrospectives/customer_license_expiration https://about.sourcegraph.com/retrospectives/customer_license_expiration 308
|
||||
/dev/retrospectives https://about.sourcegraph.com/retrospectives 308
|
||||
/dev/retrospectives/postgresql_upgrade https://about.sourcegraph.com/retrospectives/postgresql_upgrade 308
|
||||
/dev/rfcs https://about.sourcegraph.com/handbook/communication/rfcs 308
|
||||
/dev/style_guide https://about.sourcegraph.com/handbook/communication/style_guide 308
|
||||
/direction https://about.sourcegraph.com/direction 308
|
||||
/direction/secure https://about.sourcegraph.com/direction 308
|
||||
/graphbook/communication https://about.sourcegraph.com/handbook 308
|
||||
/graphbook https://about.sourcegraph.com/handbook 308
|
||||
/team/graphbook https://about.sourcegraph.com/handbook 308
|
||||
/team/graphbook/team_meeting https://about.sourcegraph.com/handbook/communication/company_meeting 308
|
||||
/team/graphbook/travel https://about.sourcegraph.com/handbook/people-ops/travel 308
|
||||
/team/gtm/devrel https://about.sourcegraph.com/handbook/marketing/developer-relations 308
|
||||
/team/gtm https://about.sourcegraph.com/handbook/sales 308
|
||||
/team/gtm/support/diagnostics https://about.sourcegraph.com/handbook/support/diagnostics 308
|
||||
/team/gtm/support https://about.sourcegraph.com/handbook/support 308
|
||||
/team https://about.sourcegraph.com/handbook 308
|
||||
/team/product-dev/documentation https://about.sourcegraph.com/handbook/engineering/product_documentation 308
|
||||
/team/product-dev/documentation/separate_website https://about.sourcegraph.com/handbook/engineering/distribution/separate_website 308
|
||||
/team/product-dev/documentation/site https://about.sourcegraph.com/handbook/engineering/distribution/update_sourcegraph_website 308
|
||||
/team/product-dev/documentation/structure https://about.sourcegraph.com/handbook/engineering/product_documentation 308
|
||||
/team/product-dev/documentation/style_guide https://about.sourcegraph.com/handbook/communication/style_guide 308
|
||||
/team/product-dev/incidents https://about.sourcegraph.com/handbook/engineering/incidents 308
|
||||
/team/product-dev https://about.sourcegraph.com/handbook/engineering 308
|
||||
/team/product-dev/open_source_open_company https://about.sourcegraph.com/company#sourcegraph-open-product-open-company-open-source 308
|
||||
/team/product-dev/product https://about.sourcegraph.com/handbook/product 308
|
||||
/team/product-dev/product/personas https://about.sourcegraph.com/handbook/marketing/personas 308
|
||||
/team/product-dev/releases https://about.sourcegraph.com/handbook/engineering/releases 308
|
||||
/team/product-dev/retrospectives/3_0 https://about.sourcegraph.com/retrospectives/3_0 308
|
||||
/team/product-dev/retrospectives/3_0_beta https://about.sourcegraph.com/retrospectives/3_0_beta 308
|
||||
/team/product-dev/retrospectives/3_2 https://about.sourcegraph.com/retrospectives/3_2 308
|
||||
/team/product-dev/retrospectives/3_3 https://about.sourcegraph.com/retrospectives/3_3 308
|
||||
/team/product-dev/retrospectives/3_4 https://about.sourcegraph.com/retrospectives/3_4 308
|
||||
/team/product-dev/retrospectives/3_5 https://about.sourcegraph.com/retrospectives/3_5 308
|
||||
/team/product-dev/retrospectives/3_6 https://about.sourcegraph.com/retrospectives/3_6 308
|
||||
/team/product-dev/retrospectives/3_7 https://about.sourcegraph.com/retrospectives/3_7 308
|
||||
/team/product-dev/retrospectives/3_8 https://about.sourcegraph.com/retrospectives/3_8 308
|
||||
/team/product-dev/retrospectives/3_9 https://about.sourcegraph.com/retrospectives/3_9 308
|
||||
/team/product-dev/retrospectives/customer_license_expiration https://about.sourcegraph.com/retrospectives/customer_license_expiration 308
|
||||
/team/product-dev/retrospectives https://about.sourcegraph.com/retrospectives 308
|
||||
/team/product-dev/retrospectives/postgresql_upgrade https://about.sourcegraph.com/retrospectives/postgresql_upgrade 308
|
||||
/team/product-dev/rfcs https://about.sourcegraph.com/handbook/communication/rfcs 308
|
||||
/team/roadmap https://about.sourcegraph.com/direction 308
|
||||
/team/style_guide https://about.sourcegraph.com/handbook/communication/style_guide 308
|
||||
/adopt/comp https://about.sourcegraph.com/workflow 308
|
||||
/dev/incidents https://sourcegraph.com/handbook/engineering/incidents 308
|
||||
/dev/open_source_open_company https://sourcegraph.com/company#sourcegraph-open-product-open-company-open-source 308
|
||||
/dev/patch_release_issue_template https://sourcegraph.com/handbook/engineering/releases/patch_release_issue_template 308
|
||||
/dev/product https://sourcegraph.com/handbook/product 308
|
||||
/dev/product/personas https://sourcegraph.com/handbook/marketing/personas 308
|
||||
/dev/release_issue_template https://sourcegraph.com/handbook/engineering/releases/release_issue_template 308
|
||||
/dev/releases https://sourcegraph.com/handbook/engineering/releases 308
|
||||
/dev/retrospectives/3_0 https://sourcegraph.com/handbook/retrospectives/3_0 308
|
||||
/dev/retrospectives/3_0_beta https://sourcegraph.com/handbook/retrospectives/3_0_beta 308
|
||||
/dev/retrospectives/3_2 https://sourcegraph.com/retrospectives/3_2 308
|
||||
/dev/retrospectives/3_3 https://sourcegraph.com/retrospectives/3_3 308
|
||||
/dev/retrospectives/3_4 https://sourcegraph.com/retrospectives/3_4 308
|
||||
/dev/retrospectives/3_5 https://sourcegraph.com/retrospectives/3_5 308
|
||||
/dev/retrospectives/3_6 https://sourcegraph.com/retrospectives/3_6 308
|
||||
/dev/retrospectives/3_7 https://sourcegraph.com/retrospectives/3_7 308
|
||||
/dev/retrospectives/3_8 https://sourcegraph.com/retrospectives/3_8 308
|
||||
/dev/retrospectives/3_9 https://sourcegraph.com/retrospectives/3_9 308
|
||||
/dev/retrospectives/customer_license_expiration https://sourcegraph.com/retrospectives/customer_license_expiration 308
|
||||
/dev/retrospectives https://sourcegraph.com/retrospectives 308
|
||||
/dev/retrospectives/postgresql_upgrade https://sourcegraph.com/retrospectives/postgresql_upgrade 308
|
||||
/dev/rfcs https://sourcegraph.com/handbook/communication/rfcs 308
|
||||
/dev/style_guide https://sourcegraph.com/handbook/communication/style_guide 308
|
||||
/direction https://sourcegraph.com/direction 308
|
||||
/direction/secure https://sourcegraph.com/direction 308
|
||||
/graphbook/communication https://sourcegraph.com/handbook 308
|
||||
/graphbook https://sourcegraph.com/handbook 308
|
||||
/team/graphbook https://sourcegraph.com/handbook 308
|
||||
/team/graphbook/team_meeting https://sourcegraph.com/handbook/communication/company_meeting 308
|
||||
/team/graphbook/travel https://sourcegraph.com/handbook/people-ops/travel 308
|
||||
/team/gtm/devrel https://sourcegraph.com/handbook/marketing/developer-relations 308
|
||||
/team/gtm https://sourcegraph.com/handbook/sales 308
|
||||
/team/gtm/support/diagnostics https://sourcegraph.com/handbook/support/diagnostics 308
|
||||
/team/gtm/support https://sourcegraph.com/handbook/support 308
|
||||
/team https://sourcegraph.com/handbook 308
|
||||
/team/product-dev/documentation https://sourcegraph.com/handbook/engineering/product_documentation 308
|
||||
/team/product-dev/documentation/separate_website https://sourcegraph.com/handbook/engineering/distribution/separate_website 308
|
||||
/team/product-dev/documentation/site https://sourcegraph.com/handbook/engineering/distribution/update_sourcegraph_website 308
|
||||
/team/product-dev/documentation/structure https://sourcegraph.com/handbook/engineering/product_documentation 308
|
||||
/team/product-dev/documentation/style_guide https://sourcegraph.com/handbook/communication/style_guide 308
|
||||
/team/product-dev/incidents https://sourcegraph.com/handbook/engineering/incidents 308
|
||||
/team/product-dev https://sourcegraph.com/handbook/engineering 308
|
||||
/team/product-dev/open_source_open_company https://sourcegraph.com/company#sourcegraph-open-product-open-company-open-source 308
|
||||
/team/product-dev/product https://sourcegraph.com/handbook/product 308
|
||||
/team/product-dev/product/personas https://sourcegraph.com/handbook/marketing/personas 308
|
||||
/team/product-dev/releases https://sourcegraph.com/handbook/engineering/releases 308
|
||||
/team/product-dev/retrospectives/3_0 https://sourcegraph.com/retrospectives/3_0 308
|
||||
/team/product-dev/retrospectives/3_0_beta https://sourcegraph.com/retrospectives/3_0_beta 308
|
||||
/team/product-dev/retrospectives/3_2 https://sourcegraph.com/retrospectives/3_2 308
|
||||
/team/product-dev/retrospectives/3_3 https://sourcegraph.com/retrospectives/3_3 308
|
||||
/team/product-dev/retrospectives/3_4 https://sourcegraph.com/retrospectives/3_4 308
|
||||
/team/product-dev/retrospectives/3_5 https://sourcegraph.com/retrospectives/3_5 308
|
||||
/team/product-dev/retrospectives/3_6 https://sourcegraph.com/retrospectives/3_6 308
|
||||
/team/product-dev/retrospectives/3_7 https://sourcegraph.com/retrospectives/3_7 308
|
||||
/team/product-dev/retrospectives/3_8 https://sourcegraph.com/retrospectives/3_8 308
|
||||
/team/product-dev/retrospectives/3_9 https://sourcegraph.com/retrospectives/3_9 308
|
||||
/team/product-dev/retrospectives/customer_license_expiration https://sourcegraph.com/retrospectives/customer_license_expiration 308
|
||||
/team/product-dev/retrospectives https://sourcegraph.com/retrospectives 308
|
||||
/team/product-dev/retrospectives/postgresql_upgrade https://sourcegraph.com/retrospectives/postgresql_upgrade 308
|
||||
/team/product-dev/rfcs https://sourcegraph.com/handbook/communication/rfcs 308
|
||||
/team/roadmap https://sourcegraph.com/direction 308
|
||||
/team/style_guide https://sourcegraph.com/handbook/communication/style_guide 308
|
||||
/adopt/comp https://sourcegraph.com/workflow 308
|
||||
/admin/auth/saml_with_microsoft_adfs /admin/auth/saml/microsoft_adfs 308
|
||||
/admin/config/critical_config /admin/migration/3_11 308
|
||||
/admin/external_service/bitbucketserver /integration/bitbucket_server 308
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
|
||||
<head>
|
||||
<title>{{block "title" .}}Home{{end}} - Sourcegraph docs</title>
|
||||
<link rel="icon" type="image/png" href="https://about.sourcegraph.com/sourcegraph-mark.png" />
|
||||
<link rel="icon" type="image/png" href="https://sourcegraph.com/sourcegraph-mark.png" />
|
||||
{{if .ContentVersion}}
|
||||
<link rel="stylesheet" type="text/css" href="{{assetsFromVersion .ContentVersion "docsite.css" }}" />
|
||||
<script src="{{assetsFromVersion .ContentVersion "docsite.js" }}"></script>
|
||||
|
||||
@ -90,7 +90,7 @@ You can use the filter `allowSignup`, available in the builtin configuration, to
|
||||
"auth.providers": [{ "type": "builtin", "allowSignup": true }]
|
||||
}
|
||||
```
|
||||
> NOTE: If Sourcegraph is running on a free license all users will be created as site admins. Learn more about license settings on our [pricing page](https://about.sourcegraph.com/pricing).
|
||||
> NOTE: If Sourcegraph is running on a free license all users will be created as site admins. Learn more about license settings on our [pricing page](https://sourcegraph.com/pricing).
|
||||
|
||||
|
||||
|
||||
|
||||
@ -102,7 +102,7 @@ Use the following filters to restrict how users can create accounts and sign in
|
||||
}
|
||||
```
|
||||
|
||||
> NOTE: If Sourcegraph is running on a free license all users will be created as site admins. Learn more about license settings on our [pricing page](https://about.sourcegraph.com/pricing).
|
||||
> NOTE: If Sourcegraph is running on a free license all users will be created as site admins. Learn more about license settings on our [pricing page](https://sourcegraph.com/pricing).
|
||||
|
||||
**allowGroups**
|
||||
|
||||
|
||||
@ -19,7 +19,7 @@ Sourcegraph supports username/password auth by default and SAML, OAuth, HTTP Pro
|
||||
|
||||
For users using any of the other authentication mechanisms, removing `builtin` as an authentication mechanism is best practice.
|
||||
|
||||
> NOTE: If Sourcegraph is running on a free license all users will be created as site admins. Learn more about license settings on our [pricing page](https://about.sourcegraph.com/pricing).
|
||||
> NOTE: If Sourcegraph is running on a free license all users will be created as site admins. Learn more about license settings on our [pricing page](https://sourcegraph.com/pricing).
|
||||
|
||||
## Repository permissions in Sourcegraph
|
||||
|
||||
|
||||
@ -135,7 +135,7 @@ Follow the same steps as above, but ensure you tick the `Push` option. If asked
|
||||
|
||||
#### Batch changes
|
||||
|
||||
> NOTE: Experimental webhook support for Bitbucket Cloud was added in Sourcegraph 3.40. Please <a href="https://about.sourcegraph.com/contact">contact us</a> with any issues found while using webhooks.
|
||||
> NOTE: Experimental webhook support for Bitbucket Cloud was added in Sourcegraph 3.40. Please <a href="https://sourcegraph.com/contact">contact us</a> with any issues found while using webhooks.
|
||||
|
||||
1. On Bitbucket Cloud, go to each repository, and then **Repository settings > Webhooks**.
|
||||
1. Click **Add webhook**.
|
||||
@ -156,7 +156,7 @@ Follow the same steps as above, but ensure you tick the `Push` option.
|
||||
|
||||
#### Batch changes
|
||||
|
||||
> NOTE: Experimental webhook support for Azure DevOps was added in Sourcegraph 5.0, and does not currently support secrets. Please <a href="https://about.sourcegraph.com/contact">contact us</a> with any issues found while using webhooks.
|
||||
> NOTE: Experimental webhook support for Azure DevOps was added in Sourcegraph 5.0, and does not currently support secrets. Please <a href="https://sourcegraph.com/contact">contact us</a> with any issues found while using webhooks.
|
||||
|
||||
1. On Azure DevOps, go to each project, and then **Project settings > General > Service hooks**.
|
||||
2. Click **Create subscription**.
|
||||
|
||||
@ -17,7 +17,7 @@ This guide will take you through how to install Sourcegraph with Docker Compose
|
||||
- Minimum Docker [v20.10.0](https://docs.docker.com/engine/release-notes/#20100) and Docker Compose [v1.29.0](https://docs.docker.com/compose/release-notes/#1290)
|
||||
- Docker Swarm mode is **not** supported
|
||||
- Check the [resource estimator](../resource_estimator.md) for resource requirements
|
||||
- Obtain a [Sourcegraph license](https://about.sourcegraph.com/pricing/)
|
||||
- Obtain a [Sourcegraph license](https://sourcegraph.com/pricing/)
|
||||
- License is required for instances with **more than 10 users**
|
||||
- <span class="badge badge-beta">optional</span> Configure ingress firewall rules to enable secure access to the server
|
||||
|
||||
|
||||
@ -67,4 +67,4 @@ docker run docker run -d --publish 80:7080 --publish 443:7080 --restart unless-s
|
||||
|
||||
The Docker container has its own internal PostgreSQL and Redis databases. To preserve this data when you kill and recreate the container, you can [use external services](../../external_services/index.md) for persistence, such as [AWS RDS for PostgreSQL](https://aws.amazon.com/rds/), [Amazon ElastiCache](https://aws.amazon.com/elasticache/redis/), and [S3](https://aws.amazon.com/s3/) for storing user uploads.
|
||||
|
||||
> NOTE: Use of external databases requires [Sourcegraph Enterprise](https://about.sourcegraph.com/pricing).
|
||||
> NOTE: Use of external databases requires [Sourcegraph Enterprise](https://sourcegraph.com/pricing).
|
||||
|
||||
@ -48,4 +48,4 @@ docker run -d ... sourcegraph/server:X.Y.Z
|
||||
|
||||
The Docker container has its own internal PostgreSQL and Redis databases. To preserve this data when you kill and recreate the container, you can [use external services](../../external_services/index.md) for persistence, such as Google Cloud's [Cloud SQL for PostgreSQL](https://cloud.google.com/sql/docs/postgres/), [Cloud Memorystore](https://cloud.google.com/memorystore/), and [Cloud Storage](https://cloud.google.com/storage) for storing user uploads.
|
||||
|
||||
> NOTE: Use of external databases requires [Sourcegraph Enterprise](https://about.sourcegraph.com/pricing).
|
||||
> NOTE: Use of external databases requires [Sourcegraph Enterprise](https://sourcegraph.com/pricing).
|
||||
|
||||
@ -22,14 +22,14 @@ Sourcegraph offers multiple deployment options to suit different needs. The appr
|
||||
|
||||
Carefully consider your organization's needs and technical expertise when selecting a Sourcegraph deployment method. The method you choose cannot be changed for a running instance, so make an informed decision. The available methods have different capabilities, and the following sections provide recommendations to help you choose.
|
||||
|
||||
### [Sourcegraph Cloud](https://about.sourcegraph.com/get-started?t=enterprise)
|
||||
### [Sourcegraph Cloud](https://sourcegraph.com/get-started?t=enterprise)
|
||||
|
||||
**For Enterprises looking for a managed Cloud solution.**
|
||||
|
||||
A cloud instance hosted and maintained by Sourcegraph
|
||||
|
||||
<div>
|
||||
<a class="cloud-cta" href="https://about.sourcegraph.com/get-started?t=enterprise" target="_blank" rel="noopener noreferrer">
|
||||
<a class="cloud-cta" href="https://sourcegraph.com/get-started?t=enterprise" target="_blank" rel="noopener noreferrer">
|
||||
<div class="cloud-cta-copy">
|
||||
<h2>Get Sourcegraph on your code.</h2>
|
||||
<h3>A single-tenant instance managed by Sourcegraph.</h3>
|
||||
|
||||
@ -1231,7 +1231,7 @@ The `utils/uid` component bind-mount `/etc/passwd` as read-only through hostpath
|
||||
|
||||
## Add license key
|
||||
|
||||
Sourcegraph's Kubernetes deployment [requires an Enterprise license key](https://about.sourcegraph.com/pricing).
|
||||
Sourcegraph's Kubernetes deployment [requires an Enterprise license key](https://sourcegraph.com/pricing).
|
||||
|
||||
Once you have a license key, add it to your [site configuration](https://docs.sourcegraph.com/admin/patches/site_config).
|
||||
|
||||
|
||||
@ -24,7 +24,7 @@ Here is a simplified list of the key parameters to tune when scaling Sourcegraph
|
||||
|
||||
Notes:
|
||||
|
||||
- If your change requires restarting `gitserver` pods and they are rescheduled to other nodes, they may go offline briefly (showing a `Multi-Attach` error). This is due to volume detach/reattach. [Contact us](https://about.sourcegraph.com/contact/) for mitigation steps depending on your cloud provider.
|
||||
- If your change requires restarting `gitserver` pods and they are rescheduled to other nodes, they may go offline briefly (showing a `Multi-Attach` error). This is due to volume detach/reattach. [Contact us](https://sourcegraph.com/contact/) for mitigation steps depending on your cloud provider.
|
||||
- See the docs to understand each service's role:
|
||||
- [Sourcegraph Architecture Overview](../../../dev/background-information/architecture/index.md)
|
||||
- [Scaling Overview per Service](../scale.md)
|
||||
|
||||
@ -32,7 +32,7 @@ This page describes how to launch a verified and pre-configured Sourcegraph inst
|
||||
* An AWS account <small>(most regions are supported, see our [Launcher](#deploy-sourcegraph) below for a complete list)</small>
|
||||
* General familiarity with AWS
|
||||
* An [EC2 keypair](https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/create-key-pairs.html) for SSH access
|
||||
* (optional) A Sourcegraph license to unlock features ([view plans](https://about.sourcegraph.com/pricing) or [learn how licenses work](../../subscriptions/index.md))
|
||||
* (optional) A Sourcegraph license to unlock features ([view plans](https://sourcegraph.com/pricing) or [learn how licenses work](../../subscriptions/index.md))
|
||||
|
||||
## What will be created
|
||||
|
||||
@ -155,4 +155,4 @@ Sourcegraph comes with extensive built-in monitoring dashboards & the ability to
|
||||
|
||||
Feel free to reach out to support@sourcegraph.com if you have any questions.
|
||||
|
||||
Business support, training, Slack support, SLAs, and dedicated Technical Advisors are all available through [Business and Enterprise plans](https://about.sourcegraph.com/pricing).
|
||||
Business support, training, Slack support, SLAs, and dedicated Technical Advisors are all available through [Business and Enterprise plans](https://sourcegraph.com/pricing).
|
||||
|
||||
@ -78,12 +78,12 @@ The easiest option is to simply back up or migrate [configuration JSON data](#co
|
||||
|
||||
This option provides a more complete backup, and ensures that almost all state will be restored. Repositories will have to be recloned and reindexed, so some downtime will be required while these operations complete.
|
||||
|
||||
Follow the instructions in our [Docker to Docker Compose migration guide](../deploy/docker-compose/migrate.md#backup-single-docker-image-database) to generate a dump of Sourcegraph's Postgres database. [Contact us](https://about.sourcegraph.com/contact/sales) for specific recommendations for your deployment type.
|
||||
Follow the instructions in our [Docker to Docker Compose migration guide](../deploy/docker-compose/migrate.md#backup-single-docker-image-database) to generate a dump of Sourcegraph's Postgres database. [Contact us](https://sourcegraph.com/contact/sales) for specific recommendations for your deployment type.
|
||||
|
||||
### Option 3: All data
|
||||
|
||||
Backing up all persistent volumes is the most complete option. Instructions for doing this depends on the deployment
|
||||
method and the cloud host. [Contact us](https://about.sourcegraph.com/contact/sales) to discuss more.
|
||||
method and the cloud host. [Contact us](https://sourcegraph.com/contact/sales) to discuss more.
|
||||
|
||||
## Persistent data backup in Kubernetes
|
||||
|
||||
|
||||
@ -33,7 +33,7 @@ Scaling is unnecessary if your resource usage is kept below 80%.
|
||||
|
||||
For example, if you plan to add 100% more engaged users, and the resource usage for all services is currently at around 70%, we’d recommend using this documentation as a reference to adjust the resources that list “Number of active users” as one of their scaling factors. You can also use the output from the Resource Estimator as references alternatively.
|
||||
|
||||
> NOTE: For assistance when scaling and tuning Sourcegraph, [contact us](https://about.sourcegraph.com/contact/). We're happy to help!
|
||||
> NOTE: For assistance when scaling and tuning Sourcegraph, [contact us](https://sourcegraph.com/contact/). We're happy to help!
|
||||
|
||||
---
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
<span class="badge badge-beta">Beta</span> This feature is in beta and might change in the future.
|
||||
</p>
|
||||
|
||||
<p><b>We're very much looking for input and feedback on this feature.</b> You can either <a href="https://about.sourcegraph.com/contact">contact us directly</a>, <a href="https://github.com/sourcegraph/sourcegraph">file an issue</a>, or <a href="https://twitter.com/sourcegraph">tweet at us</a>.</p>
|
||||
<p><b>We're very much looking for input and feedback on this feature.</b> You can either <a href="https://sourcegraph.com/contact">contact us directly</a>, <a href="https://github.com/sourcegraph/sourcegraph">file an issue</a>, or <a href="https://twitter.com/sourcegraph">tweet at us</a>.</p>
|
||||
</aside>
|
||||
|
||||
[Kubernetes manifests](https://github.com/sourcegraph/deploy-sourcegraph-k8s) are provided to deploy Sourcegraph Executors on a running Kubernetes cluster. If you are deploying Sourcegraph with helm, charts are available [here](https://github.com/sourcegraph/deploy-sourcegraph-helm).
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
<span class="badge badge-beta">Beta</span> This feature is in beta and might change in the future.
|
||||
</p>
|
||||
|
||||
<p><b>We're very much looking for input and feedback on this feature.</b> You can either <a href="https://about.sourcegraph.com/contact">contact us directly</a>, <a href="https://github.com/sourcegraph/sourcegraph">file an issue</a>, or <a href="https://twitter.com/sourcegraph">tweet at us</a>.</p>
|
||||
<p><b>We're very much looking for input and feedback on this feature.</b> You can either <a href="https://sourcegraph.com/contact">contact us directly</a>, <a href="https://github.com/sourcegraph/sourcegraph">file an issue</a>, or <a href="https://twitter.com/sourcegraph">tweet at us</a>.</p>
|
||||
</aside>
|
||||
|
||||
A [docker-compose file](https://github.com/sourcegraph/deploy-sourcegraph-docker/blob/master/docker-compose/executors/executor.docker-compose.yaml) is provided to deploy executors standlone, or alongside your existing Sourcegraph deployment.
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
<span class="badge badge-beta">Beta</span> This feature is in beta and might change in the future.
|
||||
</p>
|
||||
|
||||
<p><b>We're very much looking for input and feedback on this feature.</b> You can either <a href="https://about.sourcegraph.com/contact">contact us directly</a>, <a href="https://github.com/sourcegraph/sourcegraph">file an issue</a>, or <a href="https://twitter.com/sourcegraph">tweet at us</a>.</p>
|
||||
<p><b>We're very much looking for input and feedback on this feature.</b> You can either <a href="https://sourcegraph.com/contact">contact us directly</a>, <a href="https://github.com/sourcegraph/sourcegraph">file an issue</a>, or <a href="https://twitter.com/sourcegraph">tweet at us</a>.</p>
|
||||
</aside>
|
||||
|
||||
> NOTE: This feature is available in Sourcegraph 5.2.3 and later.
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
<span class="badge badge-beta">Beta</span> This feature is in beta and might change in the future.
|
||||
</p>
|
||||
|
||||
<p><b>We're very much looking for input and feedback on this feature.</b> You can either <a href="https://about.sourcegraph.com/contact">contact us directly</a>, <a href="https://github.com/sourcegraph/sourcegraph">file an issue</a>, or <a href="https://twitter.com/sourcegraph">tweet at us</a>.</p>
|
||||
<p><b>We're very much looking for input and feedback on this feature.</b> You can either <a href="https://sourcegraph.com/contact">contact us directly</a>, <a href="https://github.com/sourcegraph/sourcegraph">file an issue</a>, or <a href="https://twitter.com/sourcegraph">tweet at us</a>.</p>
|
||||
</aside>
|
||||
|
||||
> NOTE: This feature is available in Sourcegraph 5.1.0 and later.
|
||||
|
||||
@ -8,7 +8,7 @@ And, practically, Sourcegraph was built with the assumption that certain tasks,
|
||||
|
||||
In both the short-term and the long-term, it is far easier for users to [connect Sourcegraph to a code host](https://docs.sourcegraph.com/admin/external_service) than to try to load code from a local disk, and we strongly encourage users, where possible, to connect to their code host of choice instead of trying to follow the instructions below.
|
||||
|
||||
When Sourcegraph is connected to a code host, none of that code is ever sent off of your local Sourcegraph deployment, and nobody that you haven't given access to (whether at Sourcegraph or anywhere else) has access to your code. Sourcegraph only maintains a local clone, and does all code analysis and indexing operations locally. Read more specifics about our policies and what we do collect in [our security overview](https://about.sourcegraph.com/security/#Sourcegraph-on-premise).
|
||||
When Sourcegraph is connected to a code host, none of that code is ever sent off of your local Sourcegraph deployment, and nobody that you haven't given access to (whether at Sourcegraph or anywhere else) has access to your code. Sourcegraph only maintains a local clone, and does all code analysis and indexing operations locally. Read more specifics about our policies and what we do collect in [our security overview](https://sourcegraph.com/security/#Sourcegraph-on-premise).
|
||||
|
||||
## Using the Sourcegraph CLI to serve local repositories
|
||||
|
||||
|
||||
@ -23,7 +23,7 @@ See the following guides to use an external or managed version of each service t
|
||||
- See [Using a managed object storage service (S3 or GCS)](./object_storage.md) to replace the bundled blobstore instance.
|
||||
- See [Using an external Jaeger instance](../observability/tracing.md#Use-an-external-Jaeger-instance) to replace the bundled Jaeger instance.
|
||||
|
||||
> NOTE: Using Sourcegraph with an external service is a [paid feature](https://about.sourcegraph.com/pricing). [Contact us](https://about.sourcegraph.com/contact/sales) to get a trial license.
|
||||
> NOTE: Using Sourcegraph with an external service is a [paid feature](https://sourcegraph.com/pricing). [Contact us](https://sourcegraph.com/contact/sales) to get a trial license.
|
||||
|
||||
## Cloud alternatives
|
||||
|
||||
|
||||
@ -29,4 +29,4 @@ This document will take you through how to add, enable, or disable an experiment
|
||||
|
||||
* [Sourcegraph - Configuration Settings](https://docs.sourcegraph.com/admin/config/settings)
|
||||
* [Sourcegraph - Site configuration](https://docs.sourcegraph.com/admin/config/site_config)
|
||||
* Learn more about new experimental features on our [Blog](https://about.sourcegraph.com/blog) or Twitter [@sourcegraph](https://twitter.com/sourcegraph/)
|
||||
* Learn more about new experimental features on our [Blog](https://sourcegraph.com/blog) or Twitter [@sourcegraph](https://twitter.com/sourcegraph/)
|
||||
|
||||
@ -19,11 +19,11 @@ For a comphrensive deployment guide for each option, check out our in-depth docu
|
||||
Our recommended deployment type is [Kubernetes with Helm](../deploy/kubernetes/helm.md). If this is not a viable option, we also support a number of other deployment types which are described in the [Deployment overview](../deploy/index.md).
|
||||
|
||||
### Self-hosted vs. Managed instances
|
||||
Regardless of the deployment option you choose, Sourcegraph can be self-hosted locally or with the cloud provider of your choice. We also offer [managed instances](../../cloud/index.md) (we handle deployment, updates, and management of the instance for you). Please [contact us](https://about.sourcegraph.com/contact/sales) if you are interested in learning more about managed instances.
|
||||
Regardless of the deployment option you choose, Sourcegraph can be self-hosted locally or with the cloud provider of your choice. We also offer [managed instances](../../cloud/index.md) (we handle deployment, updates, and management of the instance for you). Please [contact us](https://sourcegraph.com/contact/sales) if you are interested in learning more about managed instances.
|
||||
|
||||
|
||||
## Updating your instance
|
||||
New versions of Sourcegraph are released monthly (with patches released in between, as needed). New updates are announced in the [Sourcegraph blog](https://about.sourcegraph.com/blog), and comprehensive update notes are available in the [changelog](https://docs.sourcegraph.com/CHANGELOG).
|
||||
New versions of Sourcegraph are released monthly (with patches released in between, as needed). New updates are announced in the [Sourcegraph blog](https://sourcegraph.com/blog), and comprehensive update notes are available in the [changelog](https://docs.sourcegraph.com/CHANGELOG).
|
||||
|
||||
To check the current version of your instance, go to **User menu > Site admin > Updates**.
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
> NOTE: This guide helps Sourcegraph admins migrate from deploying Oracle OpenGrok to Sourcegraph. See our [Oracle OpenGrok end user migration guide](../../../code_search/how-to/opengrok.md) to learn how to switch from OpenGrok's search syntax to Sourcegraph's.
|
||||
|
||||
You can migrate from Oracle's [OpenGrok](https://oracle.github.io/opengrok/) to [Sourcegraph](https://about.sourcegraph.com) for code search by following the steps in this document.
|
||||
You can migrate from Oracle's [OpenGrok](https://oracle.github.io/opengrok/) to [Sourcegraph](https://sourcegraph.com) for code search by following the steps in this document.
|
||||
|
||||
- [Background](opengrok.md#background)
|
||||
- [Migration guide](opengrok.md#migration-guide)
|
||||
@ -23,7 +23,7 @@ Sourcegraph is a self-hosted code search and intelligence tool that helps develo
|
||||
|
||||
Both Sourcegraph and OpenGrok are self-hosted, and your code never touches Sourcegraph's (or Oracle's) servers.
|
||||
|
||||
Oracle releases OpenGrok under the open-source CDDL license and does not (currently) have any monetization plans for it. Sourcegraph is a commercial product, with a free tier and [paid premium features](https://about.sourcegraph.com/pricing) available.
|
||||
Oracle releases OpenGrok under the open-source CDDL license and does not (currently) have any monetization plans for it. Sourcegraph is a commercial product, with a free tier and [paid premium features](https://sourcegraph.com/pricing) available.
|
||||
|
||||
Every organization's needs are different. [Try Sourcegraph for free](../deploy/index.md) to see if it's right for your organization.
|
||||
|
||||
@ -106,4 +106,4 @@ After you've set Sourcegraph up, it's time to share it with your organization. S
|
||||
|
||||
If there are any blockers preventing your organization from switching to Sourcegraph, we'd love to hear from you so we can address them.
|
||||
|
||||
Let us know how we can help! [File an issue](https://github.com/sourcegraph/sourcegraph) with feedback/problems/questions, or [contact us directly](https://about.sourcegraph.com/contact).
|
||||
Let us know how we can help! [File an issue](https://github.com/sourcegraph/sourcegraph) with feedback/problems/questions, or [contact us directly](https://sourcegraph.com/contact).
|
||||
|
||||
@ -33,7 +33,7 @@ We generally follow the following algorithm to root-cause issues with traces:
|
||||
1. items near the leaves that take up a significant portion of the overall request time.
|
||||
2. spans that have errors attached to them
|
||||
3. [log entries](./logs.md) that correspond to spans in the trace (using the `TraceId` and `SpanId` fields)
|
||||
3. Report this information to Sourcegraph (via [issue](https://github.com/sourcegraph/sourcegraph/issues/new) or [reaching out directly](https://about.sourcegraph.com/contact/request-info/)) by screenshotting the relevant trace or sharing the trace JSON.
|
||||
3. Report this information to Sourcegraph (via [issue](https://github.com/sourcegraph/sourcegraph/issues/new) or [reaching out directly](https://sourcegraph.com/contact/request-info/)) by screenshotting the relevant trace or sharing the trace JSON.
|
||||
|
||||
### Trace a search query
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
# Pricing
|
||||
|
||||
Visit the [pricing page](https://about.sourcegraph.com/pricing) for up-to-date pricing.
|
||||
Visit the [pricing page](https://sourcegraph.com/pricing) for up-to-date pricing.
|
||||
|
||||
## How are active users calculated?
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
<span class="badge badge-beta">Beta</span> This feature is in beta while we're testing it with more IdPs. Our implementation complies with the SCIM 2.0 specification, and passes the validator for Okta and Azure AD. But implementations might differ on the side of IdPs and validators don't give a 100% coverage, so we can't guarantee that our solution works with all IdPs in every case.
|
||||
</p>
|
||||
|
||||
<p><b>We're very much looking for input and feedback on this feature.</b> You can either <a href="https://about.sourcegraph.com/contact">contact us directly</a>, <a href="https://github.com/sourcegraph/sourcegraph">file an issue</a>, or <a href="https://twitter.com/sourcegraph">tweet at us</a>.</p>
|
||||
<p><b>We're very much looking for input and feedback on this feature.</b> You can either <a href="https://sourcegraph.com/contact">contact us directly</a>, <a href="https://github.com/sourcegraph/sourcegraph">file an issue</a>, or <a href="https://twitter.com/sourcegraph">tweet at us</a>.</p>
|
||||
</aside>
|
||||
|
||||
SCIM (System for Cross-domain Identity Management) is a standard for provisioning and deprovisioning users and groups in an organization. IdPs (identity providers) like Okta, OneLogin, and Azure Active Directory support provisioning users through SCIM.
|
||||
|
||||
@ -1,18 +1,18 @@
|
||||
# Paid subscriptions for Sourcegraph Enterprise
|
||||
|
||||
> NOTE: Pricing documentation below applies to [Sourcegraph Enterprise](https://about.sourcegraph.com/pricing).
|
||||
> NOTE: Pricing documentation below applies to [Sourcegraph Enterprise](https://sourcegraph.com/pricing).
|
||||
|
||||
Organizations using Sourcegraph can [upgrade to Sourcegraph Enterprise](https://about.sourcegraph.com/pricing) to get the features that large organizations need (single sign-on, backups and recovery, cluster deployment, access to code navigation and intelligence, etc.). These additional features in Sourcegraph Enterprise are paid and not open source.
|
||||
Organizations using Sourcegraph can [upgrade to Sourcegraph Enterprise](https://sourcegraph.com/pricing) to get the features that large organizations need (single sign-on, backups and recovery, cluster deployment, access to code navigation and intelligence, etc.). These additional features in Sourcegraph Enterprise are paid and not open source.
|
||||
|
||||
You can [contact Sourcegraph](https://about.sourcegraph.com/contact/sales) to purchase a subscription. This entitles you to a license key (provided immediately after your purchase), which activates Enterprise features on your Sourcegraph instance.
|
||||
You can [contact Sourcegraph](https://sourcegraph.com/contact/sales) to purchase a subscription. This entitles you to a license key (provided immediately after your purchase), which activates Enterprise features on your Sourcegraph instance.
|
||||
|
||||
## Volume discounts
|
||||
|
||||
[Contact us](https://about.sourcegraph.com/contact) to ask about volume discounts for Sourcegraph Enterprise.
|
||||
[Contact us](https://sourcegraph.com/contact) to ask about volume discounts for Sourcegraph Enterprise.
|
||||
|
||||
## Pricing model
|
||||
|
||||
[Sourcegraph's pricing](https://about.sourcegraph.com/pricing) is based primarily on [total active user accounts](#how-user-accounts-are-counted). In certain situations, it is also a combination of the [number of lines of code indexed](#how-lines-of-code-are-counted). Please [contact Sourcegraph](https://about.sourcegraph.com/contact/sales) to answer specific questions about our pricing model for your use.
|
||||
[Sourcegraph's pricing](https://sourcegraph.com/pricing) is based primarily on [total active user accounts](#how-user-accounts-are-counted). In certain situations, it is also a combination of the [number of lines of code indexed](#how-lines-of-code-are-counted). Please [contact Sourcegraph](https://sourcegraph.com/contact/sales) to answer specific questions about our pricing model for your use.
|
||||
|
||||
## How user accounts are counted
|
||||
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
<span class="badge badge-experimental">Experimental</span> This feature is experimental and might change in the future.
|
||||
</p>
|
||||
|
||||
<p><b>We're very much looking for input and feedback on this feature.</b> You can either <a href="https://about.sourcegraph.com/contact">contact us directly</a>, <a href="https://github.com/sourcegraph/sourcegraph">file an issue</a>, or <a href="https://twitter.com/sourcegraph">tweet at us</a>.</p>
|
||||
<p><b>We're very much looking for input and feedback on this feature.</b> You can either <a href="https://sourcegraph.com/contact">contact us directly</a>, <a href="https://github.com/sourcegraph/sourcegraph">file an issue</a>, or <a href="https://twitter.com/sourcegraph">tweet at us</a>.</p>
|
||||
</aside>
|
||||
|
||||
Teams in Sourcegraph are groups of users with a common handle. Teams are structured as a tree, so teams can have child teams.
|
||||
|
||||
@ -22,7 +22,7 @@ Sourcegraph releases use semantic versioning, for example: `v5.0.3`
|
||||
| minor | `0` |
|
||||
| patch | `3` |
|
||||
|
||||
To learn more about our release schedule see our [handbook](https://handbook.sourcegraph.com/departments/engineering/dev/process/releases/#sourcegraph-releases). In general a new minor version of Sourcegraph is released every month, accompanied by weekly patch releases. Major releases are less frequent and represent significant changes in Sourcegraph.You can also check the [Sourcegraph blog](https://about.sourcegraph.com/blog) for more information about the latest release.
|
||||
To learn more about our release schedule see our [handbook](https://handbook.sourcegraph.com/departments/engineering/dev/process/releases/#sourcegraph-releases). In general a new minor version of Sourcegraph is released every month, accompanied by weekly patch releases. Major releases are less frequent and represent significant changes in Sourcegraph.You can also check the [Sourcegraph blog](https://sourcegraph.com/blog) for more information about the latest release.
|
||||
|
||||
### Upgrade types
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
>🚨 WARNING 🚨: **Sourcegraph Validation is currently experimental.** We're exploring this feature set.
|
||||
>Let us know what you think! [File an issue](https://github.com/sourcegraph/sourcegraph/issues/new/choose)
|
||||
>with feedback/problems/questions, or [contact us directly](https://about.sourcegraph.com/contact).
|
||||
>with feedback/problems/questions, or [contact us directly](https://sourcegraph.com/contact).
|
||||
|
||||
## Validate Sourcegraph Installation
|
||||
|
||||
|
||||
@ -58,7 +58,7 @@ However, if the user deletion is permanent, deleting both account and data, then
|
||||
|
||||
## Known issues
|
||||
|
||||
- Batch Changes currently support **GitHub**, **GitLab** and **Bitbucket Server and Bitbucket Data Center** repositories. If you're interested in using Batch Changes on other code hosts, [let us know](https://about.sourcegraph.com/contact).
|
||||
- Batch Changes currently support **GitHub**, **GitLab** and **Bitbucket Server and Bitbucket Data Center** repositories. If you're interested in using Batch Changes on other code hosts, [let us know](https://sourcegraph.com/contact).
|
||||
- {#server-execution} Batch change steps are run locally (in the [Sourcegraph CLI](https://github.com/sourcegraph/src-cli)) or [server-side](https://docs.sourcegraph.com/batch_changes/explanations/server_side) `Beta`. For this reason, the APIs for creating and updating a batch change require you to upload all of the changeset specs (which are produced by executing the batch spec locally). Also see [how scalable is Batch Changes](../references/faq.md#how-scalable-is-batch-changes-how-many-changesets-can-i-create).
|
||||
- It is not yet possible for multiple users to edit the same batch change that was created under an organization.
|
||||
- It is not yet possible to reuse a branch in a repository across multiple batch changes.
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
<p>
|
||||
<span class="badge badge-beta">beta</span>This feature is in beta and might change in the future.</p>
|
||||
|
||||
<p><b>We're very much looking for input and feedback on this feature.</b> You can either <a href="https://about.sourcegraph.com/contact">contact us directly</a>, <a href="https://github.com/sourcegraph/sourcegraph">file an issue</a>, or <a href="https://twitter.com/sourcegraph">tweet at us</a>.</p>
|
||||
<p><b>We're very much looking for input and feedback on this feature.</b> You can either <a href="https://sourcegraph.com/contact">contact us directly</a>, <a href="https://github.com/sourcegraph/sourcegraph">file an issue</a>, or <a href="https://twitter.com/sourcegraph">tweet at us</a>.</p>
|
||||
</aside>
|
||||
|
||||
## Overview
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
<span class="badge badge-note">Note</span> This is new!
|
||||
</p>
|
||||
|
||||
<p><b>We're very much looking for input and feedback on this feature.</b> You can either <a href="https://about.sourcegraph.com/contact">contact us directly</a>, leave feedback <a href="https://github.com/sourcegraph/sourcegraph/issues/14851">in this issue</a>, or <a href="https://twitter.com/sourcegraph">tweet at us</a>.</p>
|
||||
<p><b>We're very much looking for input and feedback on this feature.</b> You can either <a href="https://sourcegraph.com/contact">contact us directly</a>, leave feedback <a href="https://github.com/sourcegraph/sourcegraph/issues/14851">in this issue</a>, or <a href="https://twitter.com/sourcegraph">tweet at us</a>.</p>
|
||||
|
||||
<p>This feature is available in Sourcegraph 4.1 with <a href="https://github.com/sourcegraph/src-cli">Sourcegraph CLI</a> 4.0.1 and later.</p>
|
||||
</aside>
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user