Subversion repository export

Add the repository export function for Subversion repositories. The repository will be exported as dump file which can be downloaded directly or inside a gzip compressed archive.
This commit is contained in:
Eduard Heimbuch
2021-01-08 09:19:33 +01:00
committed by GitHub
parent badcf3ecb4
commit adf7bac665
21 changed files with 451 additions and 49 deletions

View File

@@ -35,6 +35,7 @@ import RepositoryDangerZone from "./RepositoryDangerZone";
import { getLinks } from "../../modules/indexResource";
import { urls } from "@scm-manager/ui-components";
import { TranslationProps, withTranslation } from "react-i18next";
import ExportRepository from "./ExportRepository";
type Props = TranslationProps &
RouteComponentProps & {
@@ -82,6 +83,7 @@ class EditRepo extends React.Component<Props> {
this.props.modifyRepo(repo, this.repoModified);
}}
/>
<ExportRepository repository={this.props.repository}/>
<ExtensionPoint name="repo-config.route" props={extensionProps} renderAll={true} />
<RepositoryDangerZone repository={repository} indexLinks={indexLinks} />
</>