Bug 1040333 - RFE: Support .gitignore file as sources of CPACK_SOURCE_IGNORE_FILES
Summary: RFE: Support .gitignore file as sources of CPACK_SOURCE_IGNORE_FILES
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: cmake-fedora
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Ding-Yi Chen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-11 08:42 UTC by Ding-Yi Chen
Modified: 2014-01-27 13:09 UTC (History)
1 user (show)

Fixed In Version: cmake-fedora-1.2.3-1.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-27 13:09:43 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Ding-Yi Chen 2013-12-11 08:42:45 UTC
Description of problem:
Import gitignore file as base of CPACK_SOURCE_IGNORE_FILE helps developers to keep consistence between files between source control and tarball.

However, please note that it is necessary to included some generated files such as .pot files.

Version-Release number of selected component (if applicable):
cmake-fedora-1.1.6


Spec:
CMake macro of function that have following signature:

#   PACK_SOURCE_CPACK(var [GENERATOR cpackGenerator] 
#     [GITIGNORE gitignoreFile] [INCLUDE fileList])
#   - Pack with CPack. Thus cpack related targets
#     such as 'package_source' will be added.
#     Arguments:
#     + var: Variable that hold cpack filename (without directory).
#     + GENERATORE cpackGenerator: Specify CPack Generator to be used.
#       Default: TGZ
#     + GITIGNORE gitignoreFile: Use gitignore 
#       file as bases of ignore_file list
#     + INCLUDE fileList: List of files that to be packed disregarding
#       the ignore file. This is useful for packing the generated file
#       such as .pot or ChangeLog.

Comment 1 Fedora Update System 2014-01-10 01:18:56 UTC
cmake-fedora-1.2.3-1.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/cmake-fedora-1.2.3-1.fc20

Comment 2 Fedora Update System 2014-01-11 08:49:00 UTC
Package cmake-fedora-1.2.3-1.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing cmake-fedora-1.2.3-1.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-0663/cmake-fedora-1.2.3-1.fc20
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2014-01-27 13:09:43 UTC
cmake-fedora-1.2.3-1.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.