replace panelignore with pelicanignore

This commit is contained in:
Boy132 2024-06-04 17:48:02 +02:00
parent 33f10cbcb9
commit 91d8dbd084
3 changed files with 4 additions and 4 deletions

View File

@ -40,7 +40,7 @@ const ModalContent = ({ ...props }: RequiredModalProps) => {
label={'Ignored Files & Directories'} label={'Ignored Files & Directories'}
description={` description={`
Enter the files or folders to ignore while generating this backup. Leave blank to use Enter the files or folders to ignore while generating this backup. Leave blank to use
the contents of the .panelignore file in the root of the server directory if present. the contents of the .pelicanignore file in the root of the server directory if present.
Wildcard matching of files and folders is supported in addition to negating a rule by Wildcard matching of files and folders is supported in addition to negating a rule by
prefixing the path with an exclamation point. prefixing the path with an exclamation point.
`} `}

View File

@ -91,10 +91,10 @@ export default () => {
<FileManagerBreadcrumbs withinFileEditor isNewFile={action !== 'edit'} /> <FileManagerBreadcrumbs withinFileEditor isNewFile={action !== 'edit'} />
</div> </div>
</ErrorBoundary> </ErrorBoundary>
{hash.replace(/^#/, '').endsWith('.panelignore') && ( {hash.replace(/^#/, '').endsWith('.pelicanignore') && (
<div css={tw`mb-4 p-4 border-l-4 bg-neutral-900 rounded border-cyan-400`}> <div css={tw`mb-4 p-4 border-l-4 bg-neutral-900 rounded border-cyan-400`}>
<p css={tw`text-neutral-300 text-sm`}> <p css={tw`text-neutral-300 text-sm`}>
You&apos;re editing a <code css={tw`font-mono bg-black rounded py-px px-1`}>.panelignore</code>{' '} You&apos;re editing a <code css={tw`font-mono bg-black rounded py-px px-1`}>.pelicanignore</code>{' '}
file. Any files or directories listed in here will be excluded from backups. Wildcards are file. Any files or directories listed in here will be excluded from backups. Wildcards are
supported by using an asterisk (<code css={tw`font-mono bg-black rounded py-px px-1`}>*</code>). supported by using an asterisk (<code css={tw`font-mono bg-black rounded py-px px-1`}>*</code>).
You can negate a prior rule by prepending an exclamation point ( You can negate a prior rule by prepending an exclamation point (

View File

@ -168,7 +168,7 @@ const TaskDetailsModal = ({ schedule, task }: Props) => {
<FormikFieldWrapper <FormikFieldWrapper
name={'payload'} name={'payload'}
description={ description={
'Optional. Include the files and folders to be excluded in this backup. By default, the contents of your .panelignore file will be used. If you have reached your backup limit, the oldest backup will be rotated.' 'Optional. Include the files and folders to be excluded in this backup. By default, the contents of your .pelicanignore file will be used. If you have reached your backup limit, the oldest backup will be rotated.'
} }
> >
<FormikField as={Textarea} name={'payload'} rows={6} /> <FormikField as={Textarea} name={'payload'} rows={6} />