mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 16:44:44 +02:00
Merge pull request #328 from Boy132/fix/pelicanignore
Replace `panelignore` with `pelicanignore`
This commit is contained in:
commit
5e29737dc5
@ -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.
|
||||||
`}
|
`}
|
||||||
|
@ -91,13 +91,14 @@ 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're editing a <code css={tw`font-mono bg-black rounded py-px px-1`}>.panelignore</code>{' '}
|
You're editing a{' '}
|
||||||
file. Any files or directories listed in here will be excluded from backups. Wildcards are
|
<code css={tw`font-mono bg-black rounded py-px px-1`}>.pelicanignore</code> directories listed
|
||||||
supported by using an asterisk (<code css={tw`font-mono bg-black rounded py-px px-1`}>*</code>).
|
in here will be excluded from backups. Wildcards are supported by using an supported by using an
|
||||||
You can negate a prior rule by prepending an exclamation point (
|
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 (
|
||||||
<code css={tw`font-mono bg-black rounded py-px px-1`}>!</code>).
|
<code css={tw`font-mono bg-black rounded py-px px-1`}>!</code>).
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
@ -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} />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user