{"action":"closed","number":1304,"pull_request":{"url":"https://api.github.com/repos/geonetwork/core-geonetwork/pulls/1304","id":50971948,"html_url":"https://github.com/geonetwork/core-geonetwork/pull/1304","diff_url":"https://github.com/geonetwork/core-geonetwork/pull/1304.diff","patch_url":"https://github.com/geonetwork/core-geonetwork/pull/1304.patch","issue_url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/1304","number":1304,"state":"closed","locked":false,"title":"Publish the style in the same workspace used for the datastore & layer","user":{"login":"landryb","id":3421760,"avatar_url":"https://avatars.githubusercontent.com/u/3421760?v=3","gravatar_id":"","url":"https://api.github.com/users/landryb","html_url":"https://github.com/landryb","followers_url":"https://api.github.com/users/landryb/followers","following_url":"https://api.github.com/users/landryb/following{/other_user}","gists_url":"https://api.github.com/users/landryb/gists{/gist_id}","starred_url":"https://api.github.com/users/landryb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/landryb/subscriptions","organizations_url":"https://api.github.com/users/landryb/orgs","repos_url":"https://api.github.com/users/landryb/repos","events_url":"https://api.github.com/users/landryb/events{/privacy}","received_events_url":"https://api.github.com/users/landryb/received_events","type":"User","site_admin":false},"body":"This is something i've been running with since 2.8, against geoserver 2.3, and tested still working here on geonetwork 3 against geoserver 2.5.4 - rationale is to publish the style in the same workspace as the datastore & layer are published - it helps keeping things organized, and in certain cases (catalog privacy settings) users dont have access to 'global' styles (or if you want to disable the global endpoint), so it's better if the styles are grouped with their layers.\r\n\r\nWould love feedback from @fxprunayre wether this would work with mapserver-backed-through-rest publishing.","created_at":"2015-11-17T16:47:23Z","updated_at":"2015-12-08T14:37:29Z","closed_at":"2015-12-08T14:37:29Z","merged_at":null,"merge_commit_sha":"3388107475e6b42e5df8d1d318f93112882f1603","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/geonetwork/core-geonetwork/pulls/1304/commits","review_comments_url":"https://api.github.com/repos/geonetwork/core-geonetwork/pulls/1304/comments","review_comment_url":"https://api.github.com/repos/geonetwork/core-geonetwork/pulls/comments{/number}","comments_url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/1304/comments","statuses_url":"https://api.github.com/repos/geonetwork/core-geonetwork/statuses/3e0ed5c829e97feee67172bf5921b0923aa4ce45","head":{"label":"landryb:feature/geopublish-style-in-workspace","ref":"feature/geopublish-style-in-workspace","sha":"3e0ed5c829e97feee67172bf5921b0923aa4ce45","user":{"login":"landryb","id":3421760,"avatar_url":"https://avatars.githubusercontent.com/u/3421760?v=3","gravatar_id":"","url":"https://api.github.com/users/landryb","html_url":"https://github.com/landryb","followers_url":"https://api.github.com/users/landryb/followers","following_url":"https://api.github.com/users/landryb/following{/other_user}","gists_url":"https://api.github.com/users/landryb/gists{/gist_id}","starred_url":"https://api.github.com/users/landryb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/landryb/subscriptions","organizations_url":"https://api.github.com/users/landryb/orgs","repos_url":"https://api.github.com/users/landryb/repos","events_url":"https://api.github.com/users/landryb/events{/privacy}","received_events_url":"https://api.github.com/users/landryb/received_events","type":"User","site_admin":false},"repo":{"id":8925086,"name":"core-geonetwork","full_name":"landryb/core-geonetwork","owner":{"login":"landryb","id":3421760,"avatar_url":"https://avatars.githubusercontent.com/u/3421760?v=3","gravatar_id":"","url":"https://api.github.com/users/landryb","html_url":"https://github.com/landryb","followers_url":"https://api.github.com/users/landryb/followers","following_url":"https://api.github.com/users/landryb/following{/other_user}","gists_url":"https://api.github.com/users/landryb/gists{/gist_id}","starred_url":"https://api.github.com/users/landryb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/landryb/subscriptions","organizations_url":"https://api.github.com/users/landryb/orgs","repos_url":"https://api.github.com/users/landryb/repos","events_url":"https://api.github.com/users/landryb/events{/privacy}","received_events_url":"https://api.github.com/users/landryb/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/landryb/core-geonetwork","description":"","fork":true,"url":"https://api.github.com/repos/landryb/core-geonetwork","forks_url":"https://api.github.com/repos/landryb/core-geonetwork/forks","keys_url":"https://api.github.com/repos/landryb/core-geonetwork/keys{/key_id}","collaborators_url":"https://api.github.com/repos/landryb/core-geonetwork/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/landryb/core-geonetwork/teams","hooks_url":"https://api.github.com/repos/landryb/core-geonetwork/hooks","issue_events_url":"https://api.github.com/repos/landryb/core-geonetwork/issues/events{/number}","events_url":"https://api.github.com/repos/landryb/core-geonetwork/events","assignees_url":"https://api.github.com/repos/landryb/core-geonetwork/assignees{/user}","branches_url":"https://api.github.com/repos/landryb/core-geonetwork/branches{/branch}","tags_url":"https://api.github.com/repos/landryb/core-geonetwork/tags","blobs_url":"https://api.github.com/repos/landryb/core-geonetwork/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/landryb/core-geonetwork/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/landryb/core-geonetwork/git/refs{/sha}","trees_url":"https://api.github.com/repos/landryb/core-geonetwork/git/trees{/sha}","statuses_url":"https://api.github.com/repos/landryb/core-geonetwork/statuses/{sha}","languages_url":"https://api.github.com/repos/landryb/core-geonetwork/languages","stargazers_url":"https://api.github.com/repos/landryb/core-geonetwork/stargazers","contributors_url":"https://api.github.com/repos/landryb/core-geonetwork/contributors","subscribers_url":"https://api.github.com/repos/landryb/core-geonetwork/subscribers","subscription_url":"https://api.github.com/repos/landryb/core-geonetwork/subscription","commits_url":"https://api.github.com/repos/landryb/core-geonetwork/commits{/sha}","git_commits_url":"https://api.github.com/repos/landryb/core-geonetwork/git/commits{/sha}","comments_url":"https://api.github.com/repos/landryb/core-geonetwork/comments{/number}","issue_comment_url":"https://api.github.com/repos/landryb/core-geonetwork/issues/comments{/number}","contents_url":"https://api.github.com/repos/landryb/core-geonetwork/contents/{+path}","compare_url":"https://api.github.com/repos/landryb/core-geonetwork/compare/{base}...{head}","merges_url":"https://api.github.com/repos/landryb/core-geonetwork/merges","archive_url":"https://api.github.com/repos/landryb/core-geonetwork/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/landryb/core-geonetwork/downloads","issues_url":"https://api.github.com/repos/landryb/core-geonetwork/issues{/number}","pulls_url":"https://api.github.com/repos/landryb/core-geonetwork/pulls{/number}","milestones_url":"https://api.github.com/repos/landryb/core-geonetwork/milestones{/number}","notifications_url":"https://api.github.com/repos/landryb/core-geonetwork/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/landryb/core-geonetwork/labels{/name}","releases_url":"https://api.github.com/repos/landryb/core-geonetwork/releases{/id}","created_at":"2013-03-21T09:13:01Z","updated_at":"2014-04-22T10:20:36Z","pushed_at":"2015-12-08T14:29:17Z","git_url":"git://github.com/landryb/core-geonetwork.git","ssh_url":"git@github.com:landryb/core-geonetwork.git","clone_url":"https://github.com/landryb/core-geonetwork.git","svn_url":"https://github.com/landryb/core-geonetwork","homepage":null,"size":216791,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"develop"}},"base":{"label":"geonetwork:develop","ref":"develop","sha":"7c3099681aae5180ef1ea9261106940ef5a9ce97","user":{"login":"geonetwork","id":1842442,"avatar_url":"https://avatars.githubusercontent.com/u/1842442?v=3","gravatar_id":"","url":"https://api.github.com/users/geonetwork","html_url":"https://github.com/geonetwork","followers_url":"https://api.github.com/users/geonetwork/followers","following_url":"https://api.github.com/users/geonetwork/following{/other_user}","gists_url":"https://api.github.com/users/geonetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/geonetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geonetwork/subscriptions","organizations_url":"https://api.github.com/users/geonetwork/orgs","repos_url":"https://api.github.com/users/geonetwork/repos","events_url":"https://api.github.com/users/geonetwork/events{/privacy}","received_events_url":"https://api.github.com/users/geonetwork/received_events","type":"Organization","site_admin":false},"repo":{"id":4661744,"name":"core-geonetwork","full_name":"geonetwork/core-geonetwork","owner":{"login":"geonetwork","id":1842442,"avatar_url":"https://avatars.githubusercontent.com/u/1842442?v=3","gravatar_id":"","url":"https://api.github.com/users/geonetwork","html_url":"https://github.com/geonetwork","followers_url":"https://api.github.com/users/geonetwork/followers","following_url":"https://api.github.com/users/geonetwork/following{/other_user}","gists_url":"https://api.github.com/users/geonetwork/gists{/gist_id}","starred_url":"https://api.github.com/users/geonetwork/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geonetwork/subscriptions","organizations_url":"https://api.github.com/users/geonetwork/orgs","repos_url":"https://api.github.com/users/geonetwork/repos","events_url":"https://api.github.com/users/geonetwork/events{/privacy}","received_events_url":"https://api.github.com/users/geonetwork/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/geonetwork/core-geonetwork","description":"GeoNetwork repository","fork":false,"url":"https://api.github.com/repos/geonetwork/core-geonetwork","forks_url":"https://api.github.com/repos/geonetwork/core-geonetwork/forks","keys_url":"https://api.github.com/repos/geonetwork/core-geonetwork/keys{/key_id}","collaborators_url":"https://api.github.com/repos/geonetwork/core-geonetwork/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/geonetwork/core-geonetwork/teams","hooks_url":"https://api.github.com/repos/geonetwork/core-geonetwork/hooks","issue_events_url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/events{/number}","events_url":"https://api.github.com/repos/geonetwork/core-geonetwork/events","assignees_url":"https://api.github.com/repos/geonetwork/core-geonetwork/assignees{/user}","branches_url":"https://api.github.com/repos/geonetwork/core-geonetwork/branches{/branch}","tags_url":"https://api.github.com/repos/geonetwork/core-geonetwork/tags","blobs_url":"https://api.github.com/repos/geonetwork/core-geonetwork/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/geonetwork/core-geonetwork/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/geonetwork/core-geonetwork/git/refs{/sha}","trees_url":"https://api.github.com/repos/geonetwork/core-geonetwork/git/trees{/sha}","statuses_url":"https://api.github.com/repos/geonetwork/core-geonetwork/statuses/{sha}","languages_url":"https://api.github.com/repos/geonetwork/core-geonetwork/languages","stargazers_url":"https://api.github.com/repos/geonetwork/core-geonetwork/stargazers","contributors_url":"https://api.github.com/repos/geonetwork/core-geonetwork/contributors","subscribers_url":"https://api.github.com/repos/geonetwork/core-geonetwork/subscribers","subscription_url":"https://api.github.com/repos/geonetwork/core-geonetwork/subscription","commits_url":"https://api.github.com/repos/geonetwork/core-geonetwork/commits{/sha}","git_commits_url":"https://api.github.com/repos/geonetwork/core-geonetwork/git/commits{/sha}","comments_url":"https://api.github.com/repos/geonetwork/core-geonetwork/comments{/number}","issue_comment_url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/comments{/number}","contents_url":"https://api.github.com/repos/geonetwork/core-geonetwork/contents/{+path}","compare_url":"https://api.github.com/repos/geonetwork/core-geonetwork/compare/{base}...{head}","merges_url":"https://api.github.com/repos/geonetwork/core-geonetwork/merges","archive_url":"https://api.github.com/repos/geonetwork/core-geonetwork/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/geonetwork/core-geonetwork/downloads","issues_url":"https://api.github.com/repos/geonetwork/core-geonetwork/issues{/number}","pulls_url":"https://api.github.com/repos/geonetwork/core-geonetwork/pulls{/number}","milestones_url":"https://api.github.com/repos/geonetwork/core-geonetwork/milestones{/number}","notifications_url":"https://api.github.com/repos/geonetwork/core-geonetwork/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/geonetwork/core-geonetwork/labels{/name}","releases_url":"https://api.github.com/repos/geonetwork/core-geonetwork/releases{/id}","created_at":"2012-06-14T09:59:55Z","updated_at":"2015-11-05T13:32:32Z","pushed_at":"2015-12-08T14:29:35Z","git_url":"git://github.com/geonetwork/core-geonetwork.git","ssh_url":"git@github.com:geonetwork/core-geonetwork.git","clone_url":"https://github.com/geonetwork/core-geonetwork.git","svn_url":"https://github.com/geonetwork/core-geonetwork","homepage":"http://geonetwork-opensource.org/","size":257626,"stargazers_count":97,"watchers_count":97,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":192,"mirror_url":null,"open_issues_count":152,"forks":192,"open_issues":152,"watchers":97,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/geonetwork/core-geonetwork/pulls/1304"},"html":{"href":"https://github.com/geonetwork/core-geonetwork/pull/1304"},"issue":{"href":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/1304"},"comments":{"href":"https://api.github.com/repos/geonetwork/core-geonetwork/issues/1304/comments"},"review_comments":{"href":"https://api.github.com/repos/geonetwork/core-geonetwork/pulls/1304/comments"},"review_comment":{"href":"https://api.github.com/repos/geonetwork/core-geonetwork/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/geonetwork/core-geonetwork/pulls/1304/commits"},"statuses":{"href":"https://api.github.com/repos/geonetwork/core-geonetwork/statuses/3e0ed5c829e97feee67172bf5921b0923aa4ce45"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":12,"review_comments":0,"commits":13,"additions":175,"deletions":56,"changed_files":9}}