Learn more about these different git repos.
Other Git URLs
18c4bd4
@@ -14,7 +14,7 @@
# git checkout {{{ cached_git_name_version }}}
# cd copr/backend
# rpkg spec --sources
- Source0: {{{ git_dir_pack }}}
+ Source0: {{{ git_dir_archive }}}
BuildArch: noarch
BuildRequires: asciidoc
@@ -18,7 +18,7 @@
# cd copr/cli
@@ -26,7 +26,7 @@
# cd copr/common
@@ -10,7 +10,7 @@
# cd copr/dist-git
# rpkg sources --spec
@@ -51,7 +51,7 @@
# cd copr/frontend
@@ -12,7 +12,7 @@
# cd copr/keygen
BuildRequires: util-linux
@@ -8,7 +8,7 @@
# cd copr/mocks
+ Source0: {{{ git_dir_archive }}
License: GPLv2+
# cd copr/prunerepo
@@ -24,7 +24,7 @@
# cd copr/python
@@ -23,7 +23,7 @@
# cd copr/rpmbuild
BuildRequires: %python-devel
BuildRequires: %rpm_python
@@ -20,7 +20,7 @@
# cd copr/selinux
This will pack into Source0 only committed code and will not include uncommitted files. Resolves pagure issue: #321
This change is based on voting in #321
+1, thanks
issue #321 is not an issue. git_dir_pack macro behaves perfectly fine in the documented manner so any voting there should not really be taken into account.
git_dir_pack
Will you be more active in development now? Because by this change, you will make my devel life more difficult and given that you don't commit that often, what will be the benefit for you?
Will you be more active in development now?
This is irrelevant kick.
Because by this change, you will make my devel life more difficult
git_dir_archive can package dirty files as well (by an option), if you really care that much. But it's good for project to keep safe defaults.
git_dir_archive
What is the option?
On Thursday, September 13, 2018 12:50:46 PM CEST clime wrote:
It could be e.g. rhcopr srpm --dirty (edit: rpkg srpm --dirty)
rhcopr srpm --dirty
rpkg srpm --dirty
Pull-Request has been merged by msuchy
This will pack into Source0 only committed code and will not include uncommitted files.
Resolves pagure issue: #321
This change is based on voting in #321