GitHub PullRequestEvent at 2014-10-05 03:56:47
Repository: DSpace
Actor: peterdietz
Payload: {"action":"opened","number":678,"pull_request":{"url":"https://api.github.com/repos/DSpace/DSpace/pulls/678","id":22250976,"html_url":"https://github.com/DSpace/DSpace/pull/678","diff_url":"https://github.com/DSpace/DSpace/pull/678.diff","patch_url":"https://github.com/DSpace/DSpace/pull/678.patch","issue_url":"https://api.github.com/repos/DSpace/DSpace/issues/678","number":678,"state":"open","locked":false,"title":"DS-2175 PDF Citation Coverpage","user":{"login":"peterdietz","id":58014,"avatar_url":"https://avatars.githubusercontent.com/u/58014?v=2","gravatar_id":"","url":"https://api.github.com/users/peterdietz","html_url":"https://github.com/peterdietz","followers_url":"https://api.github.com/users/peterdietz/followers","following_url":"https://api.github.com/users/peterdietz/following{/other_user}","gists_url":"https://api.github.com/users/peterdietz/gists{/gist_id}","starred_url":"https://api.github.com/users/peterdietz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peterdietz/subscriptions","organizations_url":"https://api.github.com/users/peterdietz/orgs","repos_url":"https://api.github.com/users/peterdietz/repos","events_url":"https://api.github.com/users/peterdietz/events{/privacy}","received_events_url":"https://api.github.com/users/peterdietz/received_events","type":"User","site_admin":false},"body":"https://jira.duraspace.org/browse/DS-2175 - Generate citation PDF with cover page\r\n\r\nAdds the ability to generate a cover page for a PDF, which has information about your institution / repository, as well as choosing metadata fields to be added to the cover page. For UI connection, I've built this for XMLUI.\r\n\r\nThis work was sponsored by [The Ohio State University Libraries](http://library.osu.edu/)\r\n![osu-universitylibraries](https://cloud.githubusercontent.com/assets/58014/4421119/ca6f5c9a-4580-11e4-92b9-88c48fe0550e.png)\r\n\r\nI had built this feature when I was at Ohio State, see wiki: (https://github.com/osulibraries/DSpace/wiki/Citation-Cover-Page), the primary changes with this version is that this version allows for configurable text and metadata fields on the cover page. Additionally, the OSU version used iTextPDF which is licensed AGPL (incompatible with DSpace license), so I have built this page generator using Apache PDFBox, so there will be some minor appearance differences.\r\n\r\nHere's a screenshot\r\n![screen shot 2014-10-04 at 11 28 21 pm](https://cloud.githubusercontent.com/assets/58014/4517553/775035c0-4c42-11e4-9425-bc07a75f416d.png)\r\n\r\nIn a new config file config/modules/disseminate-citation.cfg, you can enable this PDF Coverpage feature globally, to specific collections or specific communities. You can also choose whether the citation page goes on as the first page, or the last page of the PDF. Also, if you are logged in as the admin, you will not get the citation page, you get the original PDF.\r\n\r\nThe configs for choosing which metadata fields appear has a the ability to include a horizontal line, use `_line_` to specify where the line goes.\r\n\r\n    fields=dc.date.issued,dc.title,dc.creator,dc.contributor.author,dc.publisher,_line_,dc.identifier.citation,dc.identifier.uri\r\n\r\nOne minor sidenote: On my OSX development machine, when I ran this new feature, the Java app / org.apache.catalina.startup.Bootstrap shows up in my dock/application tray. I've changed my tomcat bin/setenv.sh to be headless, and it no longer appears.\r\n\r\n    CATALINA_OPTS=-Djava.awt.headless=true\r\n\r\nAlso, this previously had been checked against the Google / Google Scholar indexing guidelines for what should appear on a PDF, for them to scoop/sniff/auto-detect. i.e. Item Title is largest font size, Author is next lower size.","created_at":"2014-10-05T03:56:47Z","updated_at":"2014-10-05T03:56:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DSpace/DSpace/pulls/678/commits","review_comments_url":"https://api.github.com/repos/DSpace/DSpace/pulls/678/comments","review_comment_url":"https://api.github.com/repos/DSpace/DSpace/pulls/comments/{number}","comments_url":"https://api.github.com/repos/DSpace/DSpace/issues/678/comments","statuses_url":"https://api.github.com/repos/DSpace/DSpace/statuses/2d019bad3d3cea4e94939a6094d3774827d7343c","head":{"label":"LongsightGroup:DS-2175-pdf-coverpage","ref":"DS-2175-pdf-coverpage","sha":"2d019bad3d3cea4e94939a6094d3774827d7343c","user":{"login":"LongsightGroup","id":810512,"avatar_url":"https://avatars.githubusercontent.com/u/810512?v=2","gravatar_id":"","url":"https://api.github.com/users/LongsightGroup","html_url":"https://github.com/LongsightGroup","followers_url":"https://api.github.com/users/LongsightGroup/followers","following_url":"https://api.github.com/users/LongsightGroup/following{/other_user}","gists_url":"https://api.github.com/users/LongsightGroup/gists{/gist_id}","starred_url":"https://api.github.com/users/LongsightGroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LongsightGroup/subscriptions","organizations_url":"https://api.github.com/users/LongsightGroup/orgs","repos_url":"https://api.github.com/users/LongsightGroup/repos","events_url":"https://api.github.com/users/LongsightGroup/events{/privacy}","received_events_url":"https://api.github.com/users/LongsightGroup/received_events","type":"Organization","site_admin":false},"repo":{"id":4273621,"name":"DSpace","full_name":"LongsightGroup/DSpace","owner":{"login":"LongsightGroup","id":810512,"avatar_url":"https://avatars.githubusercontent.com/u/810512?v=2","gravatar_id":"","url":"https://api.github.com/users/LongsightGroup","html_url":"https://github.com/LongsightGroup","followers_url":"https://api.github.com/users/LongsightGroup/followers","following_url":"https://api.github.com/users/LongsightGroup/following{/other_user}","gists_url":"https://api.github.com/users/LongsightGroup/gists{/gist_id}","starred_url":"https://api.github.com/users/LongsightGroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LongsightGroup/subscriptions","organizations_url":"https://api.github.com/users/LongsightGroup/orgs","repos_url":"https://api.github.com/users/LongsightGroup/repos","events_url":"https://api.github.com/users/LongsightGroup/events{/privacy}","received_events_url":"https://api.github.com/users/LongsightGroup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LongsightGroup/DSpace","description":"Longsight Group's customizations to DSpace. We provide DSpace hosting, customization, support, and training. We regularly contribute our DSpace customizations upstream to the Open Source project.","fork":true,"url":"https://api.github.com/repos/LongsightGroup/DSpace","forks_url":"https://api.github.com/repos/LongsightGroup/DSpace/forks","keys_url":"https://api.github.com/repos/LongsightGroup/DSpace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LongsightGroup/DSpace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LongsightGroup/DSpace/teams","hooks_url":"https://api.github.com/repos/LongsightGroup/DSpace/hooks","issue_events_url":"https://api.github.com/repos/LongsightGroup/DSpace/issues/events{/number}","events_url":"https://api.github.com/repos/LongsightGroup/DSpace/events","assignees_url":"https://api.github.com/repos/LongsightGroup/DSpace/assignees{/user}","branches_url":"https://api.github.com/repos/LongsightGroup/DSpace/branches{/branch}","tags_url":"https://api.github.com/repos/LongsightGroup/DSpace/tags","blobs_url":"https://api.github.com/repos/LongsightGroup/DSpace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LongsightGroup/DSpace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LongsightGroup/DSpace/git/refs{/sha}","trees_url":"https://api.github.com/repos/LongsightGroup/DSpace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LongsightGroup/DSpace/statuses/{sha}","languages_url":"https://api.github.com/repos/LongsightGroup/DSpace/languages","stargazers_url":"https://api.github.com/repos/LongsightGroup/DSpace/stargazers","contributors_url":"https://api.github.com/repos/LongsightGroup/DSpace/contributors","subscribers_url":"https://api.github.com/repos/LongsightGroup/DSpace/subscribers","subscription_url":"https://api.github.com/repos/LongsightGroup/DSpace/subscription","commits_url":"https://api.github.com/repos/LongsightGroup/DSpace/commits{/sha}","git_commits_url":"https://api.github.com/repos/LongsightGroup/DSpace/git/commits{/sha}","comments_url":"https://api.github.com/repos/LongsightGroup/DSpace/comments{/number}","issue_comment_url":"https://api.github.com/repos/LongsightGroup/DSpace/issues/comments/{number}","contents_url":"https://api.github.com/repos/LongsightGroup/DSpace/contents/{+path}","compare_url":"https://api.github.com/repos/LongsightGroup/DSpace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LongsightGroup/DSpace/merges","archive_url":"https://api.github.com/repos/LongsightGroup/DSpace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LongsightGroup/DSpace/downloads","issues_url":"https://api.github.com/repos/LongsightGroup/DSpace/issues{/number}","pulls_url":"https://api.github.com/repos/LongsightGroup/DSpace/pulls{/number}","milestones_url":"https://api.github.com/repos/LongsightGroup/DSpace/milestones{/number}","notifications_url":"https://api.github.com/repos/LongsightGroup/DSpace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LongsightGroup/DSpace/labels{/name}","releases_url":"https://api.github.com/repos/LongsightGroup/DSpace/releases{/id}","created_at":"2012-05-09T16:09:55Z","updated_at":"2014-08-28T15:50:22Z","pushed_at":"2014-10-05T03:29:51Z","git_url":"git://github.com/LongsightGroup/DSpace.git","ssh_url":"git@github.com:LongsightGroup/DSpace.git","clone_url":"https://github.com/LongsightGroup/DSpace.git","svn_url":"https://github.com/LongsightGroup/DSpace","homepage":"http://www.longsight.com/technologies/dspace","size":130754,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":3,"default_branch":"longsight-4_x"}},"base":{"label":"DSpace:master","ref":"master","sha":"9594c2b31a37df5eafb2bf96fbe942be9149615f","user":{"login":"DSpace","id":428620,"avatar_url":"https://avatars.githubusercontent.com/u/428620?v=2","gravatar_id":"","url":"https://api.github.com/users/DSpace","html_url":"https://github.com/DSpace","followers_url":"https://api.github.com/users/DSpace/followers","following_url":"https://api.github.com/users/DSpace/following{/other_user}","gists_url":"https://api.github.com/users/DSpace/gists{/gist_id}","starred_url":"https://api.github.com/users/DSpace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DSpace/subscriptions","organizations_url":"https://api.github.com/users/DSpace/orgs","repos_url":"https://api.github.com/users/DSpace/repos","events_url":"https://api.github.com/users/DSpace/events{/privacy}","received_events_url":"https://api.github.com/users/DSpace/received_events","type":"Organization","site_admin":false},"repo":{"id":3743376,"name":"DSpace","full_name":"DSpace/DSpace","owner":{"login":"DSpace","id":428620,"avatar_url":"https://avatars.githubusercontent.com/u/428620?v=2","gravatar_id":"","url":"https://api.github.com/users/DSpace","html_url":"https://github.com/DSpace","followers_url":"https://api.github.com/users/DSpace/followers","following_url":"https://api.github.com/users/DSpace/following{/other_user}","gists_url":"https://api.github.com/users/DSpace/gists{/gist_id}","starred_url":"https://api.github.com/users/DSpace/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DSpace/subscriptions","organizations_url":"https://api.github.com/users/DSpace/orgs","repos_url":"https://api.github.com/users/DSpace/repos","events_url":"https://api.github.com/users/DSpace/events{/privacy}","received_events_url":"https://api.github.com/users/DSpace/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DSpace/DSpace","description":"(Official) The DSpace digital asset management system that powers your Institutional Repository","fork":false,"url":"https://api.github.com/repos/DSpace/DSpace","forks_url":"https://api.github.com/repos/DSpace/DSpace/forks","keys_url":"https://api.github.com/repos/DSpace/DSpace/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DSpace/DSpace/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DSpace/DSpace/teams","hooks_url":"https://api.github.com/repos/DSpace/DSpace/hooks","issue_events_url":"https://api.github.com/repos/DSpace/DSpace/issues/events{/number}","events_url":"https://api.github.com/repos/DSpace/DSpace/events","assignees_url":"https://api.github.com/repos/DSpace/DSpace/assignees{/user}","branches_url":"https://api.github.com/repos/DSpace/DSpace/branches{/branch}","tags_url":"https://api.github.com/repos/DSpace/DSpace/tags","blobs_url":"https://api.github.com/repos/DSpace/DSpace/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DSpace/DSpace/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DSpace/DSpace/git/refs{/sha}","trees_url":"https://api.github.com/repos/DSpace/DSpace/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DSpace/DSpace/statuses/{sha}","languages_url":"https://api.github.com/repos/DSpace/DSpace/languages","stargazers_url":"https://api.github.com/repos/DSpace/DSpace/stargazers","contributors_url":"https://api.github.com/repos/DSpace/DSpace/contributors","subscribers_url":"https://api.github.com/repos/DSpace/DSpace/subscribers","subscription_url":"https://api.github.com/repos/DSpace/DSpace/subscription","commits_url":"https://api.github.com/repos/DSpace/DSpace/commits{/sha}","git_commits_url":"https://api.github.com/repos/DSpace/DSpace/git/commits{/sha}","comments_url":"https://api.github.com/repos/DSpace/DSpace/comments{/number}","issue_comment_url":"https://api.github.com/repos/DSpace/DSpace/issues/comments/{number}","contents_url":"https://api.github.com/repos/DSpace/DSpace/contents/{+path}","compare_url":"https://api.github.com/repos/DSpace/DSpace/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DSpace/DSpace/merges","archive_url":"https://api.github.com/repos/DSpace/DSpace/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DSpace/DSpace/downloads","issues_url":"https://api.github.com/repos/DSpace/DSpace/issues{/number}","pulls_url":"https://api.github.com/repos/DSpace/DSpace/pulls{/number}","milestones_url":"https://api.github.com/repos/DSpace/DSpace/milestones{/number}","notifications_url":"https://api.github.com/repos/DSpace/DSpace/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DSpace/DSpace/labels{/name}","releases_url":"https://api.github.com/repos/DSpace/DSpace/releases{/id}","created_at":"2012-03-16T21:44:52Z","updated_at":"2014-09-28T05:59:55Z","pushed_at":"2014-10-02T14:15:26Z","git_url":"git://github.com/DSpace/DSpace.git","ssh_url":"git@github.com:DSpace/DSpace.git","clone_url":"https://github.com/DSpace/DSpace.git","svn_url":"https://github.com/DSpace/DSpace","homepage":"https://wiki.duraspace.org/display/DSDOC4x/Introduction","size":191727,"stargazers_count":126,"watchers_count":126,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":274,"mirror_url":null,"open_issues_count":95,"forks":274,"open_issues":95,"watchers":126,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DSpace/DSpace/pulls/678"},"html":{"href":"https://github.com/DSpace/DSpace/pull/678"},"issue":{"href":"https://api.github.com/repos/DSpace/DSpace/issues/678"},"comments":{"href":"https://api.github.com/repos/DSpace/DSpace/issues/678/comments"},"review_comments":{"href":"https://api.github.com/repos/DSpace/DSpace/pulls/678/comments"},"review_comment":{"href":"https://api.github.com/repos/DSpace/DSpace/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/DSpace/DSpace/pulls/678/commits"},"statuses":{"href":"https://api.github.com/repos/DSpace/DSpace/statuses/2d019bad3d3cea4e94939a6094d3774827d7343c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":9,"additions":886,"deletions":9,"changed_files":6}}