Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug/feature SPDX-Snippet* #1139

Open
xenoterracide opened this issue Feb 3, 2025 · 0 comments
Open

bug/feature SPDX-Snippet* #1139

xenoterracide opened this issue Feb 3, 2025 · 0 comments

Comments

@xenoterracide
Copy link

xenoterracide commented Feb 3, 2025

given

# SPDX-SnippetBegin
# SPDX-SnippetName: {{ yadm.source }}
# SPDX-FileCopyrightText: Copyright © 2025 Caleb Cushing
#
# SPDX-License-Identifier: MIT

zi ice lucid wait cloneonly nocompile \
    atclone"rsync --mkpath --exclude '.*' --archive . $VIM_PACK/local/start/editorconfig" \
    atpull"%atclone"
  zi light editorconfig/editorconfig-vim
# SPDX-SnippetEnd

when

reuse annotate --license 'MIT' --copyright 'Caleb Cushing' --copyright-prefix spdx-string-symbol --merge-copyrights ~/.config/yadm/extra/vim\#\#class.,e.zsh

then

# SPDX-SnippetBegin
# SPDX-SnippetName: {{ yadm.source }}
# SPDX-FileCopyrightText: Copyright © 2025 Caleb Cushing
#
# SPDX-License-Identifier: MIT

zi ice lucid wait cloneonly nocompile \
    atclone"rsync --mkpath --exclude '.*' --archive . $VIM_PACK/local/start/editorconfig" \
    atpull"%atclone"
  zi light editorconfig/editorconfig-vim
# SPDX-SnippetEnd

instead reuse is removing my first 2 lines.

# SPDX-FileCopyrightText: Copyright © 2025 Caleb Cushing
#
# SPDX-License-Identifier: MIT

zi ice lucid wait cloneonly nocompile \
    atclone"rsync --mkpath --exclude '.*' --archive . $VIM_PACK/local/start/editorconfig" \
    atpull"%atclone"
  zi light editorconfig/editorconfig-vim
# SPDX-SnippetEnd

https://spdx.github.io/spdx-spec/v2.3/file-tags/#h3-snippet-tags-format

reuse, version 5.0.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant