{"action":"opened","issue":{"url":"https://api.github.com/repos/Cimpress-MCP/git2consul/issues/94","repository_url":"https://api.github.com/repos/Cimpress-MCP/git2consul","labels_url":"https://api.github.com/repos/Cimpress-MCP/git2consul/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/Cimpress-MCP/git2consul/issues/94/comments","events_url":"https://api.github.com/repos/Cimpress-MCP/git2consul/issues/94/events","html_url":"https://github.com/Cimpress-MCP/git2consul/issues/94","id":171487970,"number":94,"title":"Optional Flag for <branch>.ref File","user":{"login":"NRay7882","id":6548792,"avatar_url":"https://avatars.githubusercontent.com/u/6548792?v=3","gravatar_id":"","url":"https://api.github.com/users/NRay7882","html_url":"https://github.com/NRay7882","followers_url":"https://api.github.com/users/NRay7882/followers","following_url":"https://api.github.com/users/NRay7882/following{/other_user}","gists_url":"https://api.github.com/users/NRay7882/gists{/gist_id}","starred_url":"https://api.github.com/users/NRay7882/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NRay7882/subscriptions","organizations_url":"https://api.github.com/users/NRay7882/orgs","repos_url":"https://api.github.com/users/NRay7882/repos","events_url":"https://api.github.com/users/NRay7882/events{/privacy}","received_events_url":"https://api.github.com/users/NRay7882/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-16T18:41:46Z","updated_at":"2016-08-16T18:41:46Z","closed_at":null,"body":"Our team has a requirement to duplicate the contents of a repo into Consul to be read by another process. This other process has a strict dependency on the Consul structure. Additionally, we run git2consul on-demand rather than having it running as a polling process. Here's what our command looks like:\r\n\r\n`git2consul --endpoint <CONSUL_URL> --port 8500 --config-file <JSON CONFIG> -n --config_key <CONSUL_KEY_PATH>`\r\n\r\nAfter using git2consul to push our keys up, an additional file is found in the root of the path where the keys are located. This file is named 'develop.ref', after the branch we're using from our git repo. The contents of the file have the SHA-1 from our latest commit on that branch that we're pushing. Looking through the documentation I could not find a mention of this file.\r\n\r\nIs it possible that a flag can be added to make the creation of this file optional, or if git2consul is dependent on this key, can the flag be configured to remove this key as a last step? I've uploaded a screenshot for our environment to show the file in question. Thanks.\r\n\r\n![git2consul_github_question](https://cloud.githubusercontent.com/assets/6548792/17711396/78083e36-63bf-11e6-8a99-dfa18dee6aa8.png)\r\n"}}
{"actor":{"display_login":"NRay7882"}}