Re: [SUGGESTION]Should we provide a method to get git's branch name and commit tag?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Dec 8, 2016 at 12:36 PM, liuchang0812 <liuchang0812@xxxxxxxxx> wrote:
> Awesome, thanks!
>
>
> # ceph daemon /var/run/ceph/ceph-osd.32.asok version
> {"version":"0.94.9-166-gbe32c81"}
>
> Is "gbe32c81" git's commit?

be32c81

>
> [root@node4 /data/home/channingliu]# ceph daemon
> /var/run/ceph/ceph-osd.32.asok version
> {"version":"0.94.9-166-gbe32c81"}
>
> Sage Weil <sage@xxxxxxxxxxxx>于2016年12月7日周三 下午10:31写道:
>>
>> On Wed, 7 Dec 2016, 刘畅 wrote:
>> > hi, all
>> >
>> > For example, we could register a command "build info" to
>> > CephContext::_admin_sock. I would like to implement it if it's useful
>> > and necessary.
>>
>> The 'version' command will give you the commit.  It doesn't show the
>> branch name, though.
>>
>> sage
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux