{"action":"created","issue":{"url":"https://api.github.com/repos/Hacklone/private-bower/issues/174","labels_url":"https://api.github.com/repos/Hacklone/private-bower/issues/174/labels{/name}","comments_url":"https://api.github.com/repos/Hacklone/private-bower/issues/174/comments","events_url":"https://api.github.com/repos/Hacklone/private-bower/issues/174/events","html_url":"https://github.com/Hacklone/private-bower/issues/174","id":106023052,"number":174,"title":"Question around the use of private-bower with git","user":{"login":"adelinor","id":4152642,"avatar_url":"https://avatars.githubusercontent.com/u/4152642?v=3","gravatar_id":"","url":"https://api.github.com/users/adelinor","html_url":"https://github.com/adelinor","followers_url":"https://api.github.com/users/adelinor/followers","following_url":"https://api.github.com/users/adelinor/following{/other_user}","gists_url":"https://api.github.com/users/adelinor/gists{/gist_id}","starred_url":"https://api.github.com/users/adelinor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adelinor/subscriptions","organizations_url":"https://api.github.com/users/adelinor/orgs","repos_url":"https://api.github.com/users/adelinor/repos","events_url":"https://api.github.com/users/adelinor/events{/privacy}","received_events_url":"https://api.github.com/users/adelinor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Hacklone/private-bower/labels/marked%20for%20close","name":"marked for close","color":"eb6420"},{"url":"https://api.github.com/repos/Hacklone/private-bower/labels/waiting%20for%20reporter","name":"waiting for reporter","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-09-11T14:36:19Z","updated_at":"2015-11-30T20:18:29Z","closed_at":null,"body":"`private-bower` is very easy to install and does the job. I could in minutes do a bower install using \"my\" private bower:\r\n\r\n```\r\nbower install --config.registry=http://localhost:5678\r\n```\r\n\r\nAfter that I modified the configuration to set a git cache for the repository:\r\n\r\n```json\r\n\"repositoryCache\": {\r\n        \"cachePrivate\": false,\r\n        \"git\": {\r\n            \"enabled\": true,\r\n            \"cacheDirectory\": \"./gitRepoCache\",\r\n            \"host\": \"localhost\",\r\n            \"port\": 6789,\r\n            \"protocol\": \"git\",\r\n            \"publicAccessURL\" : null,\r\n            \"refreshTimeout\": 10\r\n        }\r\n}\r\n```\r\n\r\nAfter *starting* the private-bower, I can see that the folder gitRepoCache gets created. After the bower *install*, I was expecting the retrieved dependencies to be added under gitRepoCache. But that's not the case. The folder gitRepoCache remains empty.\r\n\r\nIs the git configuration correct? Did I misunderstood what the git repository cache is about?"},"comment":{"url":"https://api.github.com/repos/Hacklone/private-bower/issues/comments/160749042","html_url":"https://github.com/Hacklone/private-bower/issues/174#issuecomment-160749042","issue_url":"https://api.github.com/repos/Hacklone/private-bower/issues/174","id":160749042,"user":{"login":"adelinor","id":4152642,"avatar_url":"https://avatars.githubusercontent.com/u/4152642?v=3","gravatar_id":"","url":"https://api.github.com/users/adelinor","html_url":"https://github.com/adelinor","followers_url":"https://api.github.com/users/adelinor/followers","following_url":"https://api.github.com/users/adelinor/following{/other_user}","gists_url":"https://api.github.com/users/adelinor/gists{/gist_id}","starred_url":"https://api.github.com/users/adelinor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adelinor/subscriptions","organizations_url":"https://api.github.com/users/adelinor/orgs","repos_url":"https://api.github.com/users/adelinor/repos","events_url":"https://api.github.com/users/adelinor/events{/privacy}","received_events_url":"https://api.github.com/users/adelinor/received_events","type":"User","site_admin":false},"created_at":"2015-11-30T20:18:29Z","updated_at":"2015-11-30T20:18:29Z","body":"Thanks @spodatelev . The error stack trace reported on October 16 is indeed because of the extra slash the public.registry URL.\r\n"}}