albertony and Nick Craig-Wood
ae5cc1ab37
build: ignore revive lint issue var-naming: avoid meaningless package names
2025-08-22 00:14:01 +01:00
albertony and Nick Craig-Wood
d4be38ec02
build: fix lint issue: should omit type error from declaration
2025-08-22 00:14:01 +01:00
albertony and Nick Craig-Wood
115cff3007
Revert "build: downgrade linter to use go1.24 until it is fixed for go1.25"
...
This reverts commit 8f84f91666 .
2025-08-22 00:14:01 +01:00
albertony and Nick Craig-Wood
70b862f026
build: migrate golangci-lint configuration to v2 format
2025-08-22 00:14:01 +01:00
albertony
122890799f
docs: update contributing guide regarding markdown documentation
2025-07-21 20:23:16 +02:00
albertony
65078d5846
build: add markdown linting to workflow
2025-07-21 20:23:16 +02:00
albertony
92f304902d
build: add markdownlint configuration
2025-07-21 20:23:16 +02:00
albertony
45477a6c7d
docs: minor format cleanup install.md
2025-07-21 20:23:16 +02:00
albertony
79b549b5a4
docs: fix markdownlint issue md049/emphasis-style
2025-07-21 20:23:16 +02:00
albertony
318880b4ad
docs: fix markdownlint issue md036/no-emphasis-as-heading
2025-07-21 20:23:16 +02:00
albertony
75521dcf6e
docs: fix markdownlint issue md033/no-inline-html
2025-07-21 20:23:16 +02:00
albertony
8bf20dd545
docs: fix markdownlint issue md025/single-title
2025-07-21 20:23:16 +02:00
albertony
744bce1246
docs: fix markdownlint issue md041/first-line-heading
2025-07-21 20:23:16 +02:00
albertony
c817fc5c57
docs: fix markdownlint issue md001/heading-increment
2025-07-21 20:23:16 +02:00
albertony
0bb4d0a985
docs: fix markdownlint issue md003/heading-style
2025-07-21 20:23:16 +02:00
albertony
a8605abd34
docs: fix markdownlint issue md034/no-bare-urls
2025-07-21 20:23:16 +02:00
albertony
953fb4490b
docs: fix markdownlint issue md010/no-hard-tabs
2025-07-21 20:23:16 +02:00
albertony
b17c3d18af
docs: fix markdownlint issue md013/line-length
2025-07-21 20:23:16 +02:00
albertony
b45580fa19
docs: fix markdownlint issue md038/no-space-in-code
2025-07-21 20:23:16 +02:00
albertony
1c26f40078
docs: fix markdownlint issue md040/fenced-code-language
2025-07-21 20:23:16 +02:00
albertony
667ad093eb
docs: fix markdownlint issue md046/code-block-style
2025-07-21 20:23:16 +02:00
albertony
2c369aedf5
docs: fix markdownlint issue md037/no-space-in-emphasis
2025-07-21 20:23:16 +02:00
albertony
7a0d5ab0b4
docs: fix markdownlint issue md059/descriptive-link-text
2025-07-21 20:23:16 +02:00
albertony
75582b804b
docs: fix markdownlint issues md007/ul-indent md004/ul-style
2025-07-21 20:23:16 +02:00
albertony
73452551c6
docs: fix markdownlint issue md012/no-multiple-blanks
2025-07-21 20:23:16 +02:00
albertony
cb3cf5068b
docs: fix markdownlint issue md058/blanks-around-tables
2025-07-21 20:23:16 +02:00
albertony
428f518771
docs: fix markdownlint issue md022/blanks-around-headings
2025-07-21 20:23:16 +02:00
albertony
0411a41e11
docs: fix markdownlint issue md031/blanks-around-fences
2025-07-21 20:23:16 +02:00
albertony
07b37bcd12
docs: fix markdownlint issue md032/blanks-around-lists
2025-07-21 20:23:16 +02:00
albertony
0506826ff5
docs: fix markdownlint issue md009/no-trailing-spaces
2025-07-21 20:23:16 +02:00
albertony
4fcd36a5ab
docs: fix markdownlint issue md014/commands-show-output
2025-07-21 20:23:16 +02:00
albertony
b2f43f39ba
docs: fix markdownlint issues md007/ul-indent md004/ul-style (bin/update-authors.py)
2025-07-21 20:23:16 +02:00
albertony
074d73d12b
docs: fix markdownlint issues md007/ul-indent md004/ul-style (authors.md)
2025-07-21 20:23:16 +02:00
albertony
d1ac6c2fe1
build: limit check for edits of autogenerated files to only commits in a pull request
2025-07-17 16:20:38 +02:00
albertony
da9c99272c
build: extend check for edits of autogenerated files to all commits in a pull request
2025-07-17 16:20:38 +02:00
albertony
5e539c6a72
docs: Consolidate entries for Josh Soref in contributors
2025-07-13 14:05:45 +02:00
albertony
8866112400
docs: remove dead link to example of writing a plugin
2025-07-13 13:51:38 +02:00
albertony
d84ea2ec52
docs: fix incorrect json syntax in sample output
2025-07-11 13:49:27 +02:00
albertony
b259241c07
docs: ignore author email piyushgarg80
...
This should merge the two duplicates:
- piyushgarg <piyushgarg80@gmail.com >
- Piyush <piyushgarg80>
2025-07-11 13:49:06 +02:00
albertony
a8ab0730a7
docs: fix header level for --dump option section
2025-07-10 12:36:10 +02:00
albertony
cef207cf94
docs: use stringArray as parameter type
2025-07-10 12:36:10 +02:00
albertony
e728ea32d1
docs: use consistent markdown heading syntax
2025-07-10 12:36:10 +02:00
albertony and GitHub
b7c6268d3e
config: make parsing of duration options consistent
...
All user visible Durations should be fs.Duration rather than time.Duration. Suffix is then optional and defaults to s. Additional suffices d, w, M and y are supported, in addition to ms, s, m and h - which are the only ones supported by time.Duration. Absolute times can also be specified, and will be interpreted as duration relative to now.
2025-07-08 12:08:14 +02:00
albertony
521d6b88d4
docs: cleanup usage
2025-07-08 11:28:28 +02:00
albertony
cf767b0856
docs: break long lines
2025-07-08 11:28:28 +02:00
albertony
25f7809822
docs: add option value type to header where missing
2025-07-08 11:28:28 +02:00
albertony
74c0b1ea3b
docs: mention that identifiers in option values are case insensitive
2025-07-08 11:28:28 +02:00
albertony
f4dcb1e9cf
docs: rewrite dump option examples
2025-07-08 11:28:28 +02:00
albertony
90f1d023ff
docs: use markdown inline code format for dump option headers that are real examples
2025-07-08 11:28:28 +02:00
albertony
e9c5f2d4e8
docs: change spelling from server side to server-side
2025-07-08 11:28:28 +02:00
albertony
1249e9b5ac
docs: cleanup header casing
2025-07-08 11:28:28 +02:00
albertony
d47bc5f6c4
docs: rename OSX to macOS
2025-07-08 11:28:28 +02:00
albertony
efb1794135
docs: fix list and code block issue
2025-07-08 11:28:28 +02:00
albertony
71b98a03a9
docs: consistent markdown list format
2025-07-08 11:28:28 +02:00
albertony
8e625c6593
docs: split section with general description of options with that documenting actual main options
2025-07-08 11:28:28 +02:00
albertony
6b2cd7c631
docs: improve description of option types
2025-07-08 11:28:28 +02:00
albertony
aa4aead63c
docs: use space instead of equal sign to separate option and value in headers
2025-07-08 11:28:28 +02:00
albertony
c491d12cd0
docs: use comma to separate short and long option format in headers
2025-07-08 11:28:28 +02:00
albertony
9e4d703a56
docs: remove use of uncommon parameter types
2025-07-08 11:28:28 +02:00
albertony
fc0c0a7771
docs: remove use of parameter type FILE
2025-07-08 11:28:28 +02:00
albertony
d5cc0d83b0
docs: remove use of parameter type DIR
2025-07-08 11:28:28 +02:00
albertony
52762dc866
docs: remove use of parameter type CONFIG_FILE
2025-07-08 11:28:28 +02:00
albertony
3c092cfc17
docs: change use of parameter type N and NUMBER to int consistent with flags and cli help
2025-07-08 11:28:28 +02:00
albertony
7f3f1af541
docs: change use of parameter type TIME to Duration consistent with flags and cli help
2025-07-08 11:28:28 +02:00
albertony
f885c481f0
docs: change use of parameter type BANDWIDTH_SPEC to BwTimetable consistent with flags and cli help
2025-07-08 11:28:28 +02:00
albertony
865d4b2bda
docs: change use of parameter type SIZE to SizeSuffix consistent with flags and cli help
2025-07-08 11:28:28 +02:00
albertony
3cb1e65eb6
docs: cleanup markdown header format
2025-07-08 11:28:28 +02:00
albertony
f667346718
docs: explain separated list parameters
2025-07-08 11:28:28 +02:00
albertony
1e88c6a18b
docs: explain the json log format in more detail
2025-07-07 10:21:13 +02:00
albertony and GitHub
7242aed1c3
check: fix difference report (was reporting error counts)
2025-07-07 08:16:55 +01:00
albertony
81e63785fe
serve sftp: add support for more hashes (crc32, sha256, blake3, xxh3, xxh128)
2025-07-07 09:11:29 +02:00
albertony
c7937f53d4
serve sftp: extract function refactoring for handling hashsum commands
2025-07-07 09:11:29 +02:00
albertony
58fa1c975f
sftp: add support for more hashes (crc32, sha256, blake3, xxh3, xxh128)
2025-07-07 09:11:29 +02:00
albertony
da49fc1b6d
local: configurable supported hashes
2025-07-07 09:11:29 +02:00
albertony
df9c921dd5
hash: add support for BLAKE3, XXH3, XXH128
2025-07-07 09:11:29 +02:00
albertony
c5f55243e1
docs: lib/transform: cleanup formatting
2025-06-19 08:04:46 +02:00
albertony
62a9727ab5
lib/transform: avoid empty charmap entry
2025-06-19 08:04:46 +02:00
albertony
6644bdba0f
build: update github.com/ebitengine/purego to v0.8.3 to fix mac_amd64 build
...
Fixes #8552
2025-05-12 09:08:15 +02:00
albertony and Nick Craig-Wood
68a65e878f
docs: add hint about config touch and config file not found
2025-05-09 08:30:34 +01:00
albertony
4b6c7c6d84
docs: fix typo
2025-01-12 13:49:47 +01:00
albertony
7692ef289f
Replace Windows-specific NewLazyDLL with NewLazySystemDLL
...
This will only search Windows System directory for the DLL if name is a base
name (like "advapi32.dll"), which prevents DLL preloading attacks.
To get access to NewLazySystemDLL imports of syscall needs to be swapped with
golang.org/x/sys/windows.
2025-01-08 17:35:00 +01:00
albertony and Nick Craig-Wood
19f4580aca
docs: mention in serve tls options when value is path to file - fixes #8232
2024-12-14 11:48:38 +00:00
albertony
e11e679e90
serve sftp: fix loading of authorized keys file with comment on last line - fixes #8227
2024-12-04 13:42:10 +01:00
albertony and Nick Craig-Wood
4db09331c6
build: remove required property on boolean inputs
...
Since boolean inputs are now properly treated as booleans, and GitHub Web GUI shows
them as checkboxes, setting required does nothing.
2024-10-03 16:31:36 +01:00
albertony and Nick Craig-Wood
fcd3b88332
build: use inputs context in github workflow
...
Currently input options are retrieved from the event payload, via github.event.inputs,
and that still works, but boolean values are represented as strings there while in the
dedicated inputs context the boolean types are preserved, which means conditional
expressions can be simplified.
2024-10-03 16:31:36 +01:00
albertony
3dec664a19
bisync: change exit code from 2 to 7 for critically aborted run
2024-09-20 18:51:08 +02:00
albertony
a849fd59f0
cmd: change exit code from 1 to 2 for syntax and usage errors
2024-09-20 18:51:08 +02:00
albertony and Nick Craig-Wood
9a02c04028
jottacloud: fix setting of metadata on server side move - fixes #7900
2024-09-07 16:00:03 +01:00
albertony and Nick Craig-Wood
918185273f
docs: group the different options affecting lsjson output
2024-09-07 09:41:08 +01:00
albertony and Nick Craig-Wood
bcdfad3c83
build: update logging statements to make json log work - fixes #6038
...
This changes log statements from log to fs package, which is required for --use-json-log
to properly make log output in JSON format. The recently added custom linting rule,
handled by ruleguard via gocritic via golangci-lint, warns about these and suggests
the alternative. Fixing was therefore basically running "golangci-lint run --fix",
although some manual fixup of mainly imports are necessary following that.
2024-09-06 17:04:18 +01:00
albertony and Nick Craig-Wood
88b0757288
build: update custom linting rule for log to suggest new non-format functions
2024-09-06 17:04:18 +01:00
albertony and Nick Craig-Wood
33d6c3f92f
fs: add non-format variants of log functions to avoid non-constant format string warnings
2024-09-06 17:04:18 +01:00
albertony and Nick Craig-Wood
752809309d
fs: add log Printf, Fatalf and Panicf
2024-09-06 17:04:18 +01:00
albertony and Nick Craig-Wood
4a54cc134f
fs: refactor base log method name for improved consistency
2024-09-06 17:04:18 +01:00
albertony and Nick Craig-Wood
dfc2c98bbf
fs: refactor log statements to use common helper
2024-09-06 17:04:18 +01:00
albertony and Nick Craig-Wood
604d6bcb9c
build: enable custom linting rules with ruleguard via gocritic
2024-09-06 17:04:18 +01:00
albertony
711478554e
lib/file: use builtin MkdirAll with go1.22 instead of our own custom version for windows
...
Starting with go1.22 the standard os.MkdirAll has improved its handling of volume names,
and as part of that it now stops recursing into parent directory if it is a volume name
(see: https://github.com/golang/go/commit/cd589c8a73415afbf94a8976f20cbed9d4061ba6 ).
This is similar to what was our main change and reason for creating a custom version. When
building with go1.22 or newer we can therefore stop using our custom version, with the
advantage that we automatically get current and future relevant improvements from golang.
To support building with go1.21 the existing custom version is still kept, and therefore
also our wrapper function file.MkdirAll - but it now just calls os.MkdirAll with go1.22
or newer on Windows.
See #5401 , #6420 and acf1e2df84 for details about the
creation of our custom version of MkdirAll.
2024-09-02 18:16:38 +02:00
albertony
906aef91fa
docs: document that paths using volume guids are supported
2024-09-02 18:01:47 +02:00
albertony
4e708e59f2
local: fix incorrect conversion between integer types
2024-08-18 10:29:36 +02:00
albertony
c8366dfef3
local: fix incorrect conversion between integer types
2024-08-17 17:07:17 +02:00