{"thread":{"id":"36103","subject":"Potential GSOC microproject idea","startedAt":"2014-03-09T01:54:40Z","lastAt":"2014-03-10T08:35:21Z","messageCount":2,"participants":["Kyle J. McKay","Michael Haggerty"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"236330","messageId":"73E9BCA0-D55C-4751-A3C0-1CD21F296758@gmail.com","threadId":"36103","inReplyTo":null,"subject":"Potential GSOC microproject idea","fromName":"Kyle J. McKay","fromEmail":"mackyle@gmail.com","sentAt":"2014-03-09T01:54:40Z","receivedAt":"2014-03-09T01:54:40Z","isPatch":false,"sender":{"key":"mackyle@gmail.com","avatar":"https://avatars.githubusercontent.com/u/813346?v=4"},"body":"On Mar 3, 2014, at 23:58, Michael Haggerty wrote:\n> list\n> regulars should FEEL ENCOURAGED to submit microprojects to add to the\n> list.  (Either submit them as a pull request to the GitHub repository\n> that contains the text [1] or to the mailing list with CC to me.)\n\nPotential idea for a microproject:\n\nAdd a new config setting:\n\n   user.allowImplicitIdentity\n     Defaults to true.\n     If user.name and GIT_COMMITTER_NAME are unset or user.email and\n     GIT_COMMITTER_EMAIL and EMAIL are unset, an implicit value is\n     substituted for one or both of user.name and user.email.  If\n     an automatically generated value is used for both name and email\n     a warning \"Your name and email address were configured  \nautomatically...\"\n     is displayed.  If set to false, no or never, instead of a warning,\n     an error is generated and the operation fails:\n\n         *** Please tell me who you are.\n\n         Run\n\n           git config --global user.email \"you@example.com\"\n           git config --global user.name \"Your Name\"\n\n         to set your account's default identity.\n         Omit --global to set the identity only in this repository.\n\n         fatal: implicit user identity not allowed\n\n     the advice portion can be suppressed by setting  \nadvice.implicitIdentity to false,\n     but not the \"fatal: implicit user identity not allowed\" part.\n\nNote that if \"git config --system --bool user.allowImplicitIdentity  \nfalse\" is in effect, it should still be possible to clone (ref logs  \nmay be updated, but they should be allowed to use an implicit  \nidentity).  In other words user.allowImplicitIdentity=false should  \nonly inhibit writing any new commit/tag objects that need the current  \nuser's name and email when it has not been explicitly provided.\n\nI'm not sure how micro this is.  :)  I do think the amount of code  \ninvolved is rather small though.  Support for something like this has  \npopped up on the list before.  Perhaps \"user.allowAutomaticIdentity\"  \nand \"advice.automaticIdentity\" would be better config names.\n\n--Kyle\n"},{"id":"236357","messageId":"531D7949.3000308@alum.mit.edu","threadId":"36103","inReplyTo":"73E9BCA0-D55C-4751-A3C0-1CD21F296758@gmail.com","subject":"Re: Potential GSOC microproject idea","fromName":"Michael Haggerty","fromEmail":"mhagger@alum.mit.edu","sentAt":"2014-03-10T08:35:21Z","receivedAt":"2014-03-10T08:35:21Z","isPatch":false,"sender":{"key":"mhagger@alum.mit.edu","avatar":"https://avatars.githubusercontent.com/u/119718?v=4"},"body":"On 03/09/2014 02:54 AM, Kyle J. McKay wrote:\n> On Mar 3, 2014, at 23:58, Michael Haggerty wrote:\n>> list\n>> regulars should FEEL ENCOURAGED to submit microprojects to add to the\n>> list.  (Either submit them as a pull request to the GitHub repository\n>> that contains the text [1] or to the mailing list with CC to me.)\n> \n> Potential idea for a microproject:\n> \n> Add a new config setting:\n> \n>   user.allowImplicitIdentity\n>     Defaults to true.\n>     If user.name and GIT_COMMITTER_NAME are unset or user.email and\n>     GIT_COMMITTER_EMAIL and EMAIL are unset, an implicit value is\n>     substituted for one or both of user.name and user.email.  If\n>     an automatically generated value is used for both name and email\n>     a warning \"Your name and email address were configured\n> automatically...\"\n>     is displayed.  If set to false, no or never, instead of a warning,\n>     an error is generated and the operation fails:\n> \n>         *** Please tell me who you are.\n> \n>         Run\n> \n>           git config --global user.email \"you@example.com\"\n>           git config --global user.name \"Your Name\"\n> \n>         to set your account's default identity.\n>         Omit --global to set the identity only in this repository.\n> \n>         fatal: implicit user identity not allowed\n> \n>     the advice portion can be suppressed by setting\n> advice.implicitIdentity to false,\n>     but not the \"fatal: implicit user identity not allowed\" part.\n> \n> Note that if \"git config --system --bool user.allowImplicitIdentity\n> false\" is in effect, it should still be possible to clone (ref logs may\n> be updated, but they should be allowed to use an implicit identity).  In\n> other words user.allowImplicitIdentity=false should only inhibit writing\n> any new commit/tag objects that need the current user's name and email\n> when it has not been explicitly provided.\n> \n> I'm not sure how micro this is.  :)  I do think the amount of code\n> involved is rather small though.  Support for something like this has\n> popped up on the list before.  Perhaps \"user.allowAutomaticIdentity\" and\n> \"advice.automaticIdentity\" would be better config names.\n\nThis would be much more work than the other microprojects.  The ones\nthat I wrote were mostly one- or few-line changes that didn't require\nthe student to learn a lot of context.  (And most students struggled\nmightily with even those.)  So I'm not sure this task is suitable.\n\nOther feedback welcome.  We're pretty much out of microprojects, which\nis possibly even worse than having difficult ones.\n\nMichael\n\n-- \nMichael Haggerty\nmhagger@alum.mit.edu\nhttp://softwareswirl.blogspot.com/\n"}]}