{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/benjamin9999/makepkg/pulls/1","id":86804372,"html_url":"https://github.com/benjamin9999/makepkg/pull/1","diff_url":"https://github.com/benjamin9999/makepkg/pull/1.diff","patch_url":"https://github.com/benjamin9999/makepkg/pull/1.patch","issue_url":"https://api.github.com/repos/benjamin9999/makepkg/issues/1","number":1,"state":"open","locked":false,"title":"uses the backup array for RPM %config files","user":{"login":"dandye","id":121151,"avatar_url":"https://avatars.githubusercontent.com/u/121151?v=3","gravatar_id":"","url":"https://api.github.com/users/dandye","html_url":"https://github.com/dandye","followers_url":"https://api.github.com/users/dandye/followers","following_url":"https://api.github.com/users/dandye/following{/other_user}","gists_url":"https://api.github.com/users/dandye/gists{/gist_id}","starred_url":"https://api.github.com/users/dandye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dandye/subscriptions","organizations_url":"https://api.github.com/users/dandye/orgs","repos_url":"https://api.github.com/users/dandye/repos","events_url":"https://api.github.com/users/dandye/events{/privacy}","received_events_url":"https://api.github.com/users/dandye/received_events","type":"User","site_admin":false},"body":"References\r\n-----------\r\n * [backup variable in PKGBUILD](https://wiki.archlinux.org/index.php/PKGBUILD#backup)\r\n * [RPM %config Files](https://docs.fedoraproject.org/ro/Fedora_Draft_Documentation/0.1/html/RPM_Guide/ch09s05s03.html)\r\n * [The %config Directive in RPM Files (Maximum RPM)](http://www.rpm.org/max-rpm/s1-rpm-inside-files-list-directives.html)\r\n * [RPM erase and config files](http://www.rpm.org/max-rpm/s1-rpm-erase-and-config-files.html)\r\n * [Display the Package's List of Configuration Files](http://www.rpm.org/max-rpm/s1-rpm-query-parts.html#S3-RPM-QUERY-C-OPTION)\r\n\r\nFPM handles config files with the `--config-files` arg, which is specified multiple times:\r\n```\r\n--config-files CONFIG_FILES   Mark a file in the package as being a config file. This uses 'conffiles' in debs and %config in rpm. If you have multiple files to mark as configuration files, specify this flag multiple times.  If argument is directory all files inside it will be recursively marked as config files.\r\n```\r\n\r\nList of Config Files in v2.8.1 (created with this feature branch):\r\n```\r\n(venv) [root@localhost makepkg]# rpm -qpc /root/soltra-edge-2.8.1-5.x86_64.rpm\r\nwarning: /root/soltra-edge-2.8.1-5.x86_64.rpm: Header V4 RSA/SHA1 Signature, key ID eb9efdda: NOKEY\r\n/etc/httpd/conf.d/localtaxii.vhost\r\n/etc/httpd/conf.d/repo.conf\r\n/etc/httpd/conf.d/repo.vhost\r\n/etc/httpd/conf.d/ssl.disabled\r\n/etc/httpd/conf.d/ssl.enabled\r\n/etc/ld.so.conf.d/opt_soltra.conf\r\n/opt/soltra/edge/var/repository/pki/twoway/01/index.txt\r\n```\r\n\r\nThe /etc/yum/vars are marked as %config files in the edge2-yum-repo RPM:\r\n```\r\n(venv) [root@localhost makepkg]# rpm -qpcf /usr/share/edge/misc/pkgbuilds/edge2-yum-repo/edge2-yum-repo-2.9.0_rc.1-4.el6.x86_64.rpm\r\n/etc/yum/vars/edge2-admin-email\r\n/etc/yum/vars/edge2-up\r\n/etc/yum/vars/edge2-yum-password\r\n/etc/yum/vars/edge2-yum-username\r\n```","created_at":"2016-09-26T19:33:02Z","updated_at":"2016-09-26T19:33:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/benjamin9999/makepkg/pulls/1/commits","review_comments_url":"https://api.github.com/repos/benjamin9999/makepkg/pulls/1/comments","review_comment_url":"https://api.github.com/repos/benjamin9999/makepkg/pulls/comments{/number}","comments_url":"https://api.github.com/repos/benjamin9999/makepkg/issues/1/comments","statuses_url":"https://api.github.com/repos/benjamin9999/makepkg/statuses/f02a2716a2873db9bc5f83519781fc4ed9afe6aa","head":{"label":"dandye:RPM_config_files","ref":"RPM_config_files","sha":"f02a2716a2873db9bc5f83519781fc4ed9afe6aa","user":{"login":"dandye","id":121151,"avatar_url":"https://avatars.githubusercontent.com/u/121151?v=3","gravatar_id":"","url":"https://api.github.com/users/dandye","html_url":"https://github.com/dandye","followers_url":"https://api.github.com/users/dandye/followers","following_url":"https://api.github.com/users/dandye/following{/other_user}","gists_url":"https://api.github.com/users/dandye/gists{/gist_id}","starred_url":"https://api.github.com/users/dandye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dandye/subscriptions","organizations_url":"https://api.github.com/users/dandye/orgs","repos_url":"https://api.github.com/users/dandye/repos","events_url":"https://api.github.com/users/dandye/events{/privacy}","received_events_url":"https://api.github.com/users/dandye/received_events","type":"User","site_admin":false},"repo":{"id":69280238,"name":"makepkg","full_name":"dandye/makepkg","owner":{"login":"dandye","id":121151,"avatar_url":"https://avatars.githubusercontent.com/u/121151?v=3","gravatar_id":"","url":"https://api.github.com/users/dandye","html_url":"https://github.com/dandye","followers_url":"https://api.github.com/users/dandye/followers","following_url":"https://api.github.com/users/dandye/following{/other_user}","gists_url":"https://api.github.com/users/dandye/gists{/gist_id}","starred_url":"https://api.github.com/users/dandye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dandye/subscriptions","organizations_url":"https://api.github.com/users/dandye/orgs","repos_url":"https://api.github.com/users/dandye/repos","events_url":"https://api.github.com/users/dandye/events{/privacy}","received_events_url":"https://api.github.com/users/dandye/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dandye/makepkg","description":"remix of archlinux's makepkg for rpm via fpm","fork":true,"url":"https://api.github.com/repos/dandye/makepkg","forks_url":"https://api.github.com/repos/dandye/makepkg/forks","keys_url":"https://api.github.com/repos/dandye/makepkg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dandye/makepkg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dandye/makepkg/teams","hooks_url":"https://api.github.com/repos/dandye/makepkg/hooks","issue_events_url":"https://api.github.com/repos/dandye/makepkg/issues/events{/number}","events_url":"https://api.github.com/repos/dandye/makepkg/events","assignees_url":"https://api.github.com/repos/dandye/makepkg/assignees{/user}","branches_url":"https://api.github.com/repos/dandye/makepkg/branches{/branch}","tags_url":"https://api.github.com/repos/dandye/makepkg/tags","blobs_url":"https://api.github.com/repos/dandye/makepkg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dandye/makepkg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dandye/makepkg/git/refs{/sha}","trees_url":"https://api.github.com/repos/dandye/makepkg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dandye/makepkg/statuses/{sha}","languages_url":"https://api.github.com/repos/dandye/makepkg/languages","stargazers_url":"https://api.github.com/repos/dandye/makepkg/stargazers","contributors_url":"https://api.github.com/repos/dandye/makepkg/contributors","subscribers_url":"https://api.github.com/repos/dandye/makepkg/subscribers","subscription_url":"https://api.github.com/repos/dandye/makepkg/subscription","commits_url":"https://api.github.com/repos/dandye/makepkg/commits{/sha}","git_commits_url":"https://api.github.com/repos/dandye/makepkg/git/commits{/sha}","comments_url":"https://api.github.com/repos/dandye/makepkg/comments{/number}","issue_comment_url":"https://api.github.com/repos/dandye/makepkg/issues/comments{/number}","contents_url":"https://api.github.com/repos/dandye/makepkg/contents/{+path}","compare_url":"https://api.github.com/repos/dandye/makepkg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dandye/makepkg/merges","archive_url":"https://api.github.com/repos/dandye/makepkg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dandye/makepkg/downloads","issues_url":"https://api.github.com/repos/dandye/makepkg/issues{/number}","pulls_url":"https://api.github.com/repos/dandye/makepkg/pulls{/number}","milestones_url":"https://api.github.com/repos/dandye/makepkg/milestones{/number}","notifications_url":"https://api.github.com/repos/dandye/makepkg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dandye/makepkg/labels{/name}","releases_url":"https://api.github.com/repos/dandye/makepkg/releases{/id}","deployments_url":"https://api.github.com/repos/dandye/makepkg/deployments","created_at":"2016-09-26T18:31:05Z","updated_at":"2016-09-26T18:31:06Z","pushed_at":"2016-09-26T19:19:42Z","git_url":"git://github.com/dandye/makepkg.git","ssh_url":"git@github.com:dandye/makepkg.git","clone_url":"https://github.com/dandye/makepkg.git","svn_url":"https://github.com/dandye/makepkg","homepage":null,"size":172,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"benjamin9999:master","ref":"master","sha":"620a790eaab203b4dd8a91858199d124439bfbaf","user":{"login":"benjamin9999","id":1012320,"avatar_url":"https://avatars.githubusercontent.com/u/1012320?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamin9999","html_url":"https://github.com/benjamin9999","followers_url":"https://api.github.com/users/benjamin9999/followers","following_url":"https://api.github.com/users/benjamin9999/following{/other_user}","gists_url":"https://api.github.com/users/benjamin9999/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamin9999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamin9999/subscriptions","organizations_url":"https://api.github.com/users/benjamin9999/orgs","repos_url":"https://api.github.com/users/benjamin9999/repos","events_url":"https://api.github.com/users/benjamin9999/events{/privacy}","received_events_url":"https://api.github.com/users/benjamin9999/received_events","type":"User","site_admin":false},"repo":{"id":44712023,"name":"makepkg","full_name":"benjamin9999/makepkg","owner":{"login":"benjamin9999","id":1012320,"avatar_url":"https://avatars.githubusercontent.com/u/1012320?v=3","gravatar_id":"","url":"https://api.github.com/users/benjamin9999","html_url":"https://github.com/benjamin9999","followers_url":"https://api.github.com/users/benjamin9999/followers","following_url":"https://api.github.com/users/benjamin9999/following{/other_user}","gists_url":"https://api.github.com/users/benjamin9999/gists{/gist_id}","starred_url":"https://api.github.com/users/benjamin9999/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjamin9999/subscriptions","organizations_url":"https://api.github.com/users/benjamin9999/orgs","repos_url":"https://api.github.com/users/benjamin9999/repos","events_url":"https://api.github.com/users/benjamin9999/events{/privacy}","received_events_url":"https://api.github.com/users/benjamin9999/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/benjamin9999/makepkg","description":"remix of archlinux's makepkg for rpm via fpm","fork":false,"url":"https://api.github.com/repos/benjamin9999/makepkg","forks_url":"https://api.github.com/repos/benjamin9999/makepkg/forks","keys_url":"https://api.github.com/repos/benjamin9999/makepkg/keys{/key_id}","collaborators_url":"https://api.github.com/repos/benjamin9999/makepkg/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/benjamin9999/makepkg/teams","hooks_url":"https://api.github.com/repos/benjamin9999/makepkg/hooks","issue_events_url":"https://api.github.com/repos/benjamin9999/makepkg/issues/events{/number}","events_url":"https://api.github.com/repos/benjamin9999/makepkg/events","assignees_url":"https://api.github.com/repos/benjamin9999/makepkg/assignees{/user}","branches_url":"https://api.github.com/repos/benjamin9999/makepkg/branches{/branch}","tags_url":"https://api.github.com/repos/benjamin9999/makepkg/tags","blobs_url":"https://api.github.com/repos/benjamin9999/makepkg/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/benjamin9999/makepkg/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/benjamin9999/makepkg/git/refs{/sha}","trees_url":"https://api.github.com/repos/benjamin9999/makepkg/git/trees{/sha}","statuses_url":"https://api.github.com/repos/benjamin9999/makepkg/statuses/{sha}","languages_url":"https://api.github.com/repos/benjamin9999/makepkg/languages","stargazers_url":"https://api.github.com/repos/benjamin9999/makepkg/stargazers","contributors_url":"https://api.github.com/repos/benjamin9999/makepkg/contributors","subscribers_url":"https://api.github.com/repos/benjamin9999/makepkg/subscribers","subscription_url":"https://api.github.com/repos/benjamin9999/makepkg/subscription","commits_url":"https://api.github.com/repos/benjamin9999/makepkg/commits{/sha}","git_commits_url":"https://api.github.com/repos/benjamin9999/makepkg/git/commits{/sha}","comments_url":"https://api.github.com/repos/benjamin9999/makepkg/comments{/number}","issue_comment_url":"https://api.github.com/repos/benjamin9999/makepkg/issues/comments{/number}","contents_url":"https://api.github.com/repos/benjamin9999/makepkg/contents/{+path}","compare_url":"https://api.github.com/repos/benjamin9999/makepkg/compare/{base}...{head}","merges_url":"https://api.github.com/repos/benjamin9999/makepkg/merges","archive_url":"https://api.github.com/repos/benjamin9999/makepkg/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/benjamin9999/makepkg/downloads","issues_url":"https://api.github.com/repos/benjamin9999/makepkg/issues{/number}","pulls_url":"https://api.github.com/repos/benjamin9999/makepkg/pulls{/number}","milestones_url":"https://api.github.com/repos/benjamin9999/makepkg/milestones{/number}","notifications_url":"https://api.github.com/repos/benjamin9999/makepkg/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/benjamin9999/makepkg/labels{/name}","releases_url":"https://api.github.com/repos/benjamin9999/makepkg/releases{/id}","deployments_url":"https://api.github.com/repos/benjamin9999/makepkg/deployments","created_at":"2015-10-22T00:21:54Z","updated_at":"2015-10-22T00:22:15Z","pushed_at":"2015-10-30T00:45:15Z","git_url":"git://github.com/benjamin9999/makepkg.git","ssh_url":"git@github.com:benjamin9999/makepkg.git","clone_url":"https://github.com/benjamin9999/makepkg.git","svn_url":"https://github.com/benjamin9999/makepkg","homepage":null,"size":172,"stargazers_count":0,"watchers_count":0,"language":"Shell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/benjamin9999/makepkg/pulls/1"},"html":{"href":"https://github.com/benjamin9999/makepkg/pull/1"},"issue":{"href":"https://api.github.com/repos/benjamin9999/makepkg/issues/1"},"comments":{"href":"https://api.github.com/repos/benjamin9999/makepkg/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/benjamin9999/makepkg/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/benjamin9999/makepkg/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/benjamin9999/makepkg/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/benjamin9999/makepkg/statuses/f02a2716a2873db9bc5f83519781fc4ed9afe6aa"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"dandye"}}