Skip to contentSkip to conversation

changes to rados command

DISCUSSION Andrew Hume 2 participants 3 messages Mar 7, 2013 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

in order to make the rados command more useful in scripts, i'd like to make a change, specifically change to

rados -p pool getomapval obj key [fmt]

where fmt is an optional formatting parameter.
i've implemented 'str' which will print the value as an unadorned string.

what is the process for doing this?

andrew hume

#1 lore raw
Quoted 11 lines · Andrew Hume

in order to make the rados command more useful in scripts, i'd like to make a change, specifically change to

rados -p pool getomapval obj key [fmt]

where fmt is an optional formatting parameter.
i've implemented 'str' which will print the value as an unadorned string.

what is the process for doing this?

Patch submission, you mean? Github pull requests, sending a pull request with git URL to the list, or sending straight patches the list are all good. I'll like you more if you give me a URL of some form instead of making me get the patches out of email and into my git repo correctly, though. :) -Greg
Software Engineer #42 @ http://inktank.com | http://ceph.com

#3 lore raw
In reply to a message not in the archive

(Re-added the list for future reference)

Well, you'll need to learn how to use git at a basic level in order to be able to work effectively on Ceph (or most other open-source projects). Some links that might be helpful:
http://www.joelonsoftware.com/items/2010/03/17.html
http://www.ibm.com/developerworks/library/l-git-subversion-1/
http://try.github.com/

I haven't been through these all thoroughly, but the first one should describe the mental model changes that motivate git, the second looks to be a deep tutorial, and the third will teach you the mechanics. :)

Github pull requests are a Github nicety; their website will teach you how to use them. A simple git URL just requires that your git repository be accessible over the internet, and then you tell us what the URL is and what branch to pull from, and we can do so. (This of course requires that your changes actually be in a branch, so you'll need to have the commits arranged nicely and such.) -Greg

Quoted 34 lines · Andrew Hume

i don't know how to do teh first two (but i am a quickish learner). i know how to type git diff | mail already.
if you can guide me a little on how to do teh git things, i'll do those.

Quoted 16 lines · Greg Farnum
Quoted 10 lines · Andrew Hume

in order to make the rados command more useful in scripts, i'd like to make a change, specifically change to

rados -p pool getomapval obj key [fmt]

where fmt is an optional formatting parameter.
i've implemented 'str' which will print the value as an unadorned string.

what is the process for doing this?

Patch submission, you mean? Github pull requests, sending a pull request with git URL to the list, or sending straight patches the list are all good. I'll like you more if you give me a URL of some form instead of making me get the patches out of email and into my git repo correctly, though. :) -Greg
Software Engineer #42 @ http://inktank.com | http://ceph.com

Quoted 4 lines

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected] (mailto:[email protected]) More majordomo info at http://vger.kernel.org/majordomo-info.html

-----------------------
Andrew Hume
623-551-2845 (VO and best)
973-236-2014 (NJ)
[email protected] (mailto:[email protected])