{"action":"created","comment":{"url":"https://api.github.com/repos/sonatype/nexus-book/pulls/comments/51424947","id":51424947,"diff_hunk":"@@ -0,0 +1,133 @@\n+[[bower]]\n+== Bower Repositories\n+{inall}\n+\n+[[bower-introduction]]\n+=== Introduction\n+\n+http://bower.io[Bower] is a package manager for front-end web development. Consumers of JavaScript \n+packages who routinely build projects need to keep track of and access remote packages. Using Bower \n+ensures front-end packages are up to date (or set to the specific versions you need). The package manager \n+installs the right versions of the packages you need and their dependencies. Bower can manage such components \n+as HTML, CSS, JavaScript, and images.\n+\n+{pro} and {oss} support the Bower registry format for proxy repositories. This allows the repository manager \n+to take advantage of the packages in the Bower registry and other public registries without incurring repeated \n+downloads of packages, since they will be proxied in the repository manager. The proxy allows {pro} and {oss} \n+to grab artifacts from Bower. To use Bower with the Nexus 3 Repository Manager, you will need to install and configure a pluggable resolver that allows Bower to interact with the repository manager.\n+\n+Bower is optimized for the front-end. If multiple packages depend on a single package Bower will download a \n+component (e.g jQuery) just once. This is known as a flat dependency graph and it helps reduce page load.\n+\n+[[bower-proxying]]\n+=== Proxying Bower Repositories\n+\n+You can set up a proxy repository inside of the repository manager. This enables the system \n+to proxy other public Nexus Bower registries. To reduce duplicate downloads and improve download \n+speeds for your developers and CI servers, you should proxy the registry hosted at \n+http://bower.herokuapp.com/[http://bower.herokuapp.com]. By default Bower accesses this registry directly. You can also proxy any other registries you require.\n+\n+When rewrite capabilities are activated the Bower resolver forces itself to Nexus to retrieve an artifact (e.g. \n+tar.gz). \n+\n+If deactivated, no rewrite of the URL occurs. As a result, original component URL is exposed. Turning off rewrite \n+capabilities proxies the information directly from Bower’s registry without redirecting to the repository manager \n+to retrieve artifacts. The content will be as if navigating directly to the Bower registry in your \n+browser.\n+ \n+Minimal configuration steps are:\n+\n+- Define 'Name'\n+- Define URL for 'Remote storage' e.g. http://bower.herokuapp.com/[http://bower.herokuapp.com]\n+- Select a 'Blob store' for 'Storage'\n+\n+[[bower-hosting]]\n+=== Hosting Bower Repositories\n+\n+A hosted Bower repository can be used to deploy your own as well as third-party components.\n+\n+To create another hosted Bower repository, add a new repository with the recipe 'repository-name (hosted)' as ","path":"chapter-bower.asciidoc","position":49,"original_position":49,"commit_id":"4cdc1eb6ff658cff861c0a4e746eb827588386fe","original_commit_id":"4cdc1eb6ff658cff861c0a4e746eb827588386fe","user":{"login":"fjmilens3","id":3869125,"avatar_url":"https://avatars.githubusercontent.com/u/3869125?v=3","gravatar_id":"","url":"https://api.github.com/users/fjmilens3","html_url":"https://github.com/fjmilens3","followers_url":"https://api.github.com/users/fjmilens3/followers","following_url":"https://api.github.com/users/fjmilens3/following{/other_user}","gists_url":"https://api.github.com/users/fjmilens3/gists{/gist_id}","starred_url":"https://api.github.com/users/fjmilens3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fjmilens3/subscriptions","organizations_url":"https://api.github.com/users/fjmilens3/orgs","repos_url":"https://api.github.com/users/fjmilens3/repos","events_url":"https://api.github.com/users/fjmilens3/events{/privacy}","received_events_url":"https://api.github.com/users/fjmilens3/received_events","type":"User","site_admin":false},"body":"If we do leave this, I would assume it would read `bower (hosted)` rather than `repository-name (hosted)`.","created_at":"2016-02-01T14:41:26Z","updated_at":"2016-02-01T14:41:26Z","html_url":"https://github.com/sonatype/nexus-book/pull/121#discussion_r51424947","pull_request_url":"https://api.github.com/repos/sonatype/nexus-book/pulls/121","_links":{"self":{"href":"https://api.github.com/repos/sonatype/nexus-book/pulls/comments/51424947"},"html":{"href":"https://github.com/sonatype/nexus-book/pull/121#discussion_r51424947"},"pull_request":{"href":"https://api.github.com/repos/sonatype/nexus-book/pulls/121"}}},"pull_request":{"url":"https://api.github.com/repos/sonatype/nexus-book/pulls/121","id":56949932,"html_url":"https://github.com/sonatype/nexus-book/pull/121","diff_url":"https://github.com/sonatype/nexus-book/pull/121.diff","patch_url":"https://github.com/sonatype/nexus-book/pull/121.patch","issue_url":"https://api.github.com/repos/sonatype/nexus-book/issues/121","number":121,"state":"open","locked":false,"title":"WIP - Bower chapter","user":{"login":"dulanism","id":5214266,"avatar_url":"https://avatars.githubusercontent.com/u/5214266?v=3","gravatar_id":"","url":"https://api.github.com/users/dulanism","html_url":"https://github.com/dulanism","followers_url":"https://api.github.com/users/dulanism/followers","following_url":"https://api.github.com/users/dulanism/following{/other_user}","gists_url":"https://api.github.com/users/dulanism/gists{/gist_id}","starred_url":"https://api.github.com/users/dulanism/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dulanism/subscriptions","organizations_url":"https://api.github.com/users/dulanism/orgs","repos_url":"https://api.github.com/users/dulanism/repos","events_url":"https://api.github.com/users/dulanism/events{/privacy}","received_events_url":"https://api.github.com/users/dulanism/received_events","type":"User","site_admin":false},"body":"This chapter is not ready for review yet.\r\nBamboo build: http://bamboo.s/browse/BOOK-NEXUS83\r\n\r\nhttps://issues.sonatype.org/browse/NEXUS-9580\r\nhttps://issues.sonatype.org/browse/NEXUS-9582","created_at":"2016-01-22T22:22:53Z","updated_at":"2016-02-01T14:41:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8bff1d16018d3b37fc261b1bac624c5101ea7ca8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sonatype/nexus-book/pulls/121/commits","review_comments_url":"https://api.github.com/repos/sonatype/nexus-book/pulls/121/comments","review_comment_url":"https://api.github.com/repos/sonatype/nexus-book/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sonatype/nexus-book/issues/121/comments","statuses_url":"https://api.github.com/repos/sonatype/nexus-book/statuses/4cdc1eb6ff658cff861c0a4e746eb827588386fe","head":{"label":"sonatype:NEXUS-9580-bower-all","ref":"NEXUS-9580-bower-all","sha":"4cdc1eb6ff658cff861c0a4e746eb827588386fe","user":{"login":"sonatype","id":44938,"avatar_url":"https://avatars.githubusercontent.com/u/44938?v=3","gravatar_id":"","url":"https://api.github.com/users/sonatype","html_url":"https://github.com/sonatype","followers_url":"https://api.github.com/users/sonatype/followers","following_url":"https://api.github.com/users/sonatype/following{/other_user}","gists_url":"https://api.github.com/users/sonatype/gists{/gist_id}","starred_url":"https://api.github.com/users/sonatype/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonatype/subscriptions","organizations_url":"https://api.github.com/users/sonatype/orgs","repos_url":"https://api.github.com/users/sonatype/repos","events_url":"https://api.github.com/users/sonatype/events{/privacy}","received_events_url":"https://api.github.com/users/sonatype/received_events","type":"Organization","site_admin":false},"repo":{"id":188759,"name":"nexus-book","full_name":"sonatype/nexus-book","owner":{"login":"sonatype","id":44938,"avatar_url":"https://avatars.githubusercontent.com/u/44938?v=3","gravatar_id":"","url":"https://api.github.com/users/sonatype","html_url":"https://github.com/sonatype","followers_url":"https://api.github.com/users/sonatype/followers","following_url":"https://api.github.com/users/sonatype/following{/other_user}","gists_url":"https://api.github.com/users/sonatype/gists{/gist_id}","starred_url":"https://api.github.com/users/sonatype/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonatype/subscriptions","organizations_url":"https://api.github.com/users/sonatype/orgs","repos_url":"https://api.github.com/users/sonatype/repos","events_url":"https://api.github.com/users/sonatype/events{/privacy}","received_events_url":"https://api.github.com/users/sonatype/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sonatype/nexus-book","description":"Repository Management with Nexus","fork":false,"url":"https://api.github.com/repos/sonatype/nexus-book","forks_url":"https://api.github.com/repos/sonatype/nexus-book/forks","keys_url":"https://api.github.com/repos/sonatype/nexus-book/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sonatype/nexus-book/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sonatype/nexus-book/teams","hooks_url":"https://api.github.com/repos/sonatype/nexus-book/hooks","issue_events_url":"https://api.github.com/repos/sonatype/nexus-book/issues/events{/number}","events_url":"https://api.github.com/repos/sonatype/nexus-book/events","assignees_url":"https://api.github.com/repos/sonatype/nexus-book/assignees{/user}","branches_url":"https://api.github.com/repos/sonatype/nexus-book/branches{/branch}","tags_url":"https://api.github.com/repos/sonatype/nexus-book/tags","blobs_url":"https://api.github.com/repos/sonatype/nexus-book/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sonatype/nexus-book/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sonatype/nexus-book/git/refs{/sha}","trees_url":"https://api.github.com/repos/sonatype/nexus-book/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sonatype/nexus-book/statuses/{sha}","languages_url":"https://api.github.com/repos/sonatype/nexus-book/languages","stargazers_url":"https://api.github.com/repos/sonatype/nexus-book/stargazers","contributors_url":"https://api.github.com/repos/sonatype/nexus-book/contributors","subscribers_url":"https://api.github.com/repos/sonatype/nexus-book/subscribers","subscription_url":"https://api.github.com/repos/sonatype/nexus-book/subscription","commits_url":"https://api.github.com/repos/sonatype/nexus-book/commits{/sha}","git_commits_url":"https://api.github.com/repos/sonatype/nexus-book/git/commits{/sha}","comments_url":"https://api.github.com/repos/sonatype/nexus-book/comments{/number}","issue_comment_url":"https://api.github.com/repos/sonatype/nexus-book/issues/comments{/number}","contents_url":"https://api.github.com/repos/sonatype/nexus-book/contents/{+path}","compare_url":"https://api.github.com/repos/sonatype/nexus-book/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sonatype/nexus-book/merges","archive_url":"https://api.github.com/repos/sonatype/nexus-book/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sonatype/nexus-book/downloads","issues_url":"https://api.github.com/repos/sonatype/nexus-book/issues{/number}","pulls_url":"https://api.github.com/repos/sonatype/nexus-book/pulls{/number}","milestones_url":"https://api.github.com/repos/sonatype/nexus-book/milestones{/number}","notifications_url":"https://api.github.com/repos/sonatype/nexus-book/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sonatype/nexus-book/labels{/name}","releases_url":"https://api.github.com/repos/sonatype/nexus-book/releases{/id}","deployments_url":"https://api.github.com/repos/sonatype/nexus-book/deployments","created_at":"2009-04-29T20:25:10Z","updated_at":"2016-01-06T08:32:38Z","pushed_at":"2016-02-01T13:23:45Z","git_url":"git://github.com/sonatype/nexus-book.git","ssh_url":"git@github.com:sonatype/nexus-book.git","clone_url":"https://github.com/sonatype/nexus-book.git","svn_url":"https://github.com/sonatype/nexus-book","homepage":"http://books.sonatype.com/nexus-book/reference/index.html","size":696849,"stargazers_count":43,"watchers_count":43,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":4,"forks":18,"open_issues":4,"watchers":43,"default_branch":"master"}},"base":{"label":"sonatype:nexus-3.0.x","ref":"nexus-3.0.x","sha":"bf5d509f0d60e505628a4b91b09c9965282d94a3","user":{"login":"sonatype","id":44938,"avatar_url":"https://avatars.githubusercontent.com/u/44938?v=3","gravatar_id":"","url":"https://api.github.com/users/sonatype","html_url":"https://github.com/sonatype","followers_url":"https://api.github.com/users/sonatype/followers","following_url":"https://api.github.com/users/sonatype/following{/other_user}","gists_url":"https://api.github.com/users/sonatype/gists{/gist_id}","starred_url":"https://api.github.com/users/sonatype/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonatype/subscriptions","organizations_url":"https://api.github.com/users/sonatype/orgs","repos_url":"https://api.github.com/users/sonatype/repos","events_url":"https://api.github.com/users/sonatype/events{/privacy}","received_events_url":"https://api.github.com/users/sonatype/received_events","type":"Organization","site_admin":false},"repo":{"id":188759,"name":"nexus-book","full_name":"sonatype/nexus-book","owner":{"login":"sonatype","id":44938,"avatar_url":"https://avatars.githubusercontent.com/u/44938?v=3","gravatar_id":"","url":"https://api.github.com/users/sonatype","html_url":"https://github.com/sonatype","followers_url":"https://api.github.com/users/sonatype/followers","following_url":"https://api.github.com/users/sonatype/following{/other_user}","gists_url":"https://api.github.com/users/sonatype/gists{/gist_id}","starred_url":"https://api.github.com/users/sonatype/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sonatype/subscriptions","organizations_url":"https://api.github.com/users/sonatype/orgs","repos_url":"https://api.github.com/users/sonatype/repos","events_url":"https://api.github.com/users/sonatype/events{/privacy}","received_events_url":"https://api.github.com/users/sonatype/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sonatype/nexus-book","description":"Repository Management with Nexus","fork":false,"url":"https://api.github.com/repos/sonatype/nexus-book","forks_url":"https://api.github.com/repos/sonatype/nexus-book/forks","keys_url":"https://api.github.com/repos/sonatype/nexus-book/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sonatype/nexus-book/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sonatype/nexus-book/teams","hooks_url":"https://api.github.com/repos/sonatype/nexus-book/hooks","issue_events_url":"https://api.github.com/repos/sonatype/nexus-book/issues/events{/number}","events_url":"https://api.github.com/repos/sonatype/nexus-book/events","assignees_url":"https://api.github.com/repos/sonatype/nexus-book/assignees{/user}","branches_url":"https://api.github.com/repos/sonatype/nexus-book/branches{/branch}","tags_url":"https://api.github.com/repos/sonatype/nexus-book/tags","blobs_url":"https://api.github.com/repos/sonatype/nexus-book/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sonatype/nexus-book/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sonatype/nexus-book/git/refs{/sha}","trees_url":"https://api.github.com/repos/sonatype/nexus-book/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sonatype/nexus-book/statuses/{sha}","languages_url":"https://api.github.com/repos/sonatype/nexus-book/languages","stargazers_url":"https://api.github.com/repos/sonatype/nexus-book/stargazers","contributors_url":"https://api.github.com/repos/sonatype/nexus-book/contributors","subscribers_url":"https://api.github.com/repos/sonatype/nexus-book/subscribers","subscription_url":"https://api.github.com/repos/sonatype/nexus-book/subscription","commits_url":"https://api.github.com/repos/sonatype/nexus-book/commits{/sha}","git_commits_url":"https://api.github.com/repos/sonatype/nexus-book/git/commits{/sha}","comments_url":"https://api.github.com/repos/sonatype/nexus-book/comments{/number}","issue_comment_url":"https://api.github.com/repos/sonatype/nexus-book/issues/comments{/number}","contents_url":"https://api.github.com/repos/sonatype/nexus-book/contents/{+path}","compare_url":"https://api.github.com/repos/sonatype/nexus-book/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sonatype/nexus-book/merges","archive_url":"https://api.github.com/repos/sonatype/nexus-book/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sonatype/nexus-book/downloads","issues_url":"https://api.github.com/repos/sonatype/nexus-book/issues{/number}","pulls_url":"https://api.github.com/repos/sonatype/nexus-book/pulls{/number}","milestones_url":"https://api.github.com/repos/sonatype/nexus-book/milestones{/number}","notifications_url":"https://api.github.com/repos/sonatype/nexus-book/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sonatype/nexus-book/labels{/name}","releases_url":"https://api.github.com/repos/sonatype/nexus-book/releases{/id}","deployments_url":"https://api.github.com/repos/sonatype/nexus-book/deployments","created_at":"2009-04-29T20:25:10Z","updated_at":"2016-01-06T08:32:38Z","pushed_at":"2016-02-01T13:23:45Z","git_url":"git://github.com/sonatype/nexus-book.git","ssh_url":"git@github.com:sonatype/nexus-book.git","clone_url":"https://github.com/sonatype/nexus-book.git","svn_url":"https://github.com/sonatype/nexus-book","homepage":"http://books.sonatype.com/nexus-book/reference/index.html","size":696849,"stargazers_count":43,"watchers_count":43,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":4,"forks":18,"open_issues":4,"watchers":43,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sonatype/nexus-book/pulls/121"},"html":{"href":"https://github.com/sonatype/nexus-book/pull/121"},"issue":{"href":"https://api.github.com/repos/sonatype/nexus-book/issues/121"},"comments":{"href":"https://api.github.com/repos/sonatype/nexus-book/issues/121/comments"},"review_comments":{"href":"https://api.github.com/repos/sonatype/nexus-book/pulls/121/comments"},"review_comment":{"href":"https://api.github.com/repos/sonatype/nexus-book/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sonatype/nexus-book/pulls/121/commits"},"statuses":{"href":"https://api.github.com/repos/sonatype/nexus-book/statuses/4cdc1eb6ff658cff861c0a4e746eb827588386fe"}}}}