We write a REVISION file into the target directory, why can't you use that?

Lee Hambley
--
http://lee.hambley.name/
+49 (0) 170 298 5667

On 10 December 2014 at 21:37, Tom Harrison <tharri...@pubget.com> wrote:

> Versions:
>
>    - Ruby: 2.1.4
>    - Capistrano: 3.x (latest)
>    - Rake / Rails / etc: Rails 4.1
>
> Platform:
>
>    - Working on.... OS X
>    - Deploying to... CentOS / AWS
>
>
> We're deploying one service as part of a larger system.  Each service (and
> environment therein) needs to be able to report its current version based
> on git (github) info, e.g. commit hash, tag, and/or release version ... at
> runtime -- a common interface for all services.  Other info like OS
> version, ruby/rails, database and other information can be queried at
> runtime ... or at deploy time and saved.
>
> I see that there's a file written, revisions.log at the top level of the
> app, and also see there's a /repo directory, but this is not within the
> scope of what my app can access.
>
> I probably just want to write a YAML or JSON file with all of the info I
> might need.
>
> Question 1: does anyone know of an existing extension that does this kind
> of thing?
>
> Question 2: any pointers or references I can jump off from?
>
> Thanks
>
> Tom
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Capistrano" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to capistrano+unsubscr...@googlegroups.com.
> To view this discussion on the web, visit
> https://groups.google.com/d/msgid/capistrano/4a1aae7d-24e3-40fd-86ad-d162653b46da%40googlegroups.com
> <https://groups.google.com/d/msgid/capistrano/4a1aae7d-24e3-40fd-86ad-d162653b46da%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to capistrano+unsubscr...@googlegroups.com.
To view this discussion on the web, visit 
https://groups.google.com/d/msgid/capistrano/CAN_%2BVLVEbXZOKUEzD5exwH2g5OwLULy-5%3DFCO8VXHPcFXrjELg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to