Summary: | add exclude to tar options | ||
---|---|---|---|
Product: | Sisyphus | Reporter: | Anton Farygin <rider> |
Component: | gear | Assignee: | Alexey Gladkov <legion> |
Status: | CLOSED FIXED | QA Contact: | qa-sisyphus |
Severity: | normal | ||
Priority: | P5 | CC: | glebfm, ldv, legion, placeholder, rider, vseleznv |
Version: | unstable | ||
Hardware: | x86_64 | ||
OS: | Linux |
Description
Anton Farygin
2021-03-15 15:11:01 MSK
Для архивов, в отличие от diff, ещё есть способ добиться аналогичного эффекта средставми самого git. Например, если закоммитить файл .gitattributes, содержащий /.gitattributes export-ignore /.gear-rules export-ignore то в архив не попадут ни .gitattributes, ни .gear-rules. Но ретроспективно такой способ не работает, конечно. Код в апстриме: http://git.altlinux.org/people/ldv/packages/gear.git gear-2.5.0-alt1 -> sisyphus: Wed Mar 17 2021 Dmitry V. Levin <ldv@altlinux> 2.5.0-alt1 - Added exclude= option for tar: and zip: directives (by Alexey Gladkov; closes: #39801). - describe-specfile (by Gleb Fotengauer-Malinovskiy): + new utility, prints name and version info for specfile. - gear: + change the current workdir back before the last command invocation. - gear-changelog (by Arseny Maslennikov): + added --header-only option to only print changelog header. - gear-create-tag: + refuse to create tags that do not define all specsubst variables; + implemented -s/--specsubst option (closes: #39783). - gear-update-sh-functions (by Gleb Fotengauer-Malinovskiy): + fixed permissions (755 -> 644). - Moved gear-sh-functions and describe-specfile to separate subpackages (by Gleb Fotengauer-Malinovskiy). - Updated bash completions. |