GitHub: Difference between revisions

Jump to navigation Jump to search
→‎Quick Access for Requests: adding &format=__default__ to the links to make things force the non-guided mode.
(Remove me as owner of MozMEAO org)
(→‎Quick Access for Requests: adding &format=__default__ to the links to make things force the non-guided mode.)
Line 17: Line 17:
<div id="github_member_bug"></div>
<div id="github_member_bug"></div>
=== I need to be a member of an org ===
=== I need to be a member of an org ===
Please read [[#join|this]] section on being a member, noting that for many operations you don't need member status.  If you need it, file a bug '''[https://bugzilla.mozilla.org/enter_bug.cgi?assigned_to=nobody%40mozilla.org&bug_ignored=0&bug_severity=normal&bug_status=NEW&bug_type=task&cf_fx_iteration=---&cf_fx_points=---&comment=I%27ve%20read%20https%3A%2F%2Fwiki.mozilla.org%2FGitHub%23Team_Maintainers_.26_Project_Leads%2C%20and%20need%20help%20adding%20a%20contributor%20to%20the%20org%3A%0D%0A%0D%0AName%3A%20%0D%0AMozilla%20Email%3A%20%0D%0AGithub%20Profile%20link%3A%20%2AStaff%20%2A%2AMUST%2A%2A%20have%20their%20verified%20GitHub%20identity%20listed%20in%20their%20people.m.o%20entry%2A%0D%0AGithub%20Team%28s%29%20%2AREQUIRED%2A%3A%20%0D%0ANOTE%3A%20This%20is%20NOT%20the%20Org%20Name%2C%20but%20instead%20any%20teams%20inside%20the%20request%20org.%0D%0A%0D%0AIf%20this%20is%20not%20being%20requested%20by%20a%20team%20maintainer%2C%20please%20request%20their%20approval%20via%20need-info.&component=Github%3A%20Administration&contenttypemethod=list&contenttypeselection=text%2Fplain&defined_groups=1&filed_via=standard_form&flag_type-4=X&flag_type-607=X&flag_type-800=X&flag_type-803=X&flag_type-936=X&form_name=enter_bug&maketemplate=Remember%20values%20as%20bookmarkable%20template&op_sys=Unspecified&priority=--&product=mozilla.org&qa_contact=cknowles%40mozilla.com&rep_platform=Unspecified&short_desc=Requesting%20GitHub%20membership%20to%20the%20%3CORGNAME%3E%20org%20for%20%3CUSERNAME%3E&target_milestone=---&version=other here in Bugzilla]''' filling out the fields as best you can.  Having your manager or maintainer of the team file the bug may short circuit some of the approval processes, and make things go faster.
Please read [[#join|this]] section on being a member, noting that for many operations you don't need member status.  If you need it, file a bug '''[https://bugzilla.mozilla.org/enter_bug.cgi?assigned_to=nobody%40mozilla.org&bug_ignored=0&bug_severity=normal&bug_status=NEW&bug_type=task&cf_fx_iteration=---&cf_fx_points=---&comment=I%27ve%20read%20https%3A%2F%2Fwiki.mozilla.org%2FGitHub%23Team_Maintainers_.26_Project_Leads%2C%20and%20need%20help%20adding%20a%20contributor%20to%20the%20org%3A%0D%0A%0D%0AName%3A%20%0D%0AMozilla%20Email%3A%20%0D%0AGithub%20Profile%20link%3A%20%2AStaff%20%2A%2AMUST%2A%2A%20have%20their%20verified%20GitHub%20identity%20listed%20in%20their%20people.m.o%20entry%2A%0D%0AGithub%20Team%28s%29%20%2AREQUIRED%2A%3A%20%0D%0ANOTE%3A%20This%20is%20NOT%20the%20Org%20Name%2C%20but%20instead%20any%20teams%20inside%20the%20request%20org.%0D%0A%0D%0AIf%20this%20is%20not%20being%20requested%20by%20a%20team%20maintainer%2C%20please%20request%20their%20approval%20via%20need-info.&component=Github%3A%20Administration&contenttypemethod=list&contenttypeselection=text%2Fplain&defined_groups=1&filed_via=standard_form&flag_type-4=X&flag_type-607=X&flag_type-800=X&flag_type-803=X&flag_type-936=X&form_name=enter_bug&maketemplate=Remember%20values%20as%20bookmarkable%20template&op_sys=Unspecified&priority=--&product=mozilla.org&qa_contact=cknowles%40mozilla.com&rep_platform=Unspecified&short_desc=Requesting%20GitHub%20membership%20to%20the%20%3CORGNAME%3E%20org%20for%20%3CUSERNAME%3E&target_milestone=---&version=other&format=__default__ here in Bugzilla]''' filling out the fields as best you can.  Having your manager or maintainer of the team file the bug may short circuit some of the approval processes, and make things go faster.


<div id="github_actions_bug"></div>
<div id="github_actions_bug"></div>


=== I want a new action/app added to an org ===
=== I want a new action/app added to an org ===
Please read these sections on [[#github_actions|Actions]] and [[#github_apps|Apps]] - file a bug [https://bugzilla.mozilla.org/enter_bug.cgi?assigned_to=nobody%40mozilla.org&bug_ignored=0&bug_severity=--&bug_status=NEW&bug_type=task&cf_fx_iteration=---&cf_fx_points=---&comment=I%20want%20to%20use%20the%20NAME_HERE%20App%2FAction%20in%20ORG_NAME_HERE%20for%20the%20following%20reasons%3A%0D%0A%0D%0ABelow%20are%20my%20answers%20to%20your%20stock%20questions%3A%0D%0A%0D%0A%2A%2A%20Which%20repositories%20do%20you%20want%20to%20have%20access%3F%20%28all%20or%20list%29%0D%0A%28Note%3A%20This%20mainly%20applies%20to%20applications.%20%20Actions%20are%20approved%20for%20entire%20GitHub%20orgs%2C%20though%20having%20this%20info%20can%20help%20security%20with%20their%20analysis%29%0D%0A%0D%0A%2A%2A%20Are%20any%20of%20those%20repositories%20private%3F%0D%0A%0D%0A%2A%2A%20Provide%20link%20to%20vendor%27s%20description%20of%20permissions%20needed%20and%20why%2C%20or%20general%20documentation%20link%20for%20either%20the%20app%20or%20action%0D%0A%0D%0A%2A%2A%20If%20an%20app%20-%20please%20provide%20the%20Install%20link%0D%0A%0D%0A%3E%20%2A%2ANOTE%2A%2A%0D%0A%3E%20%0D%0A%3E%20Think%20of%20this%20as%20you%20would%20any%203rd%20party%20source%20inclusion%20into%20a%20shipping%20product%2C%20including%20all%20the%20considerations%20%5Bhere%5D%28https%3A%2F%2Fmozilla-hub.atlassian.net%2Fwiki%2Fspaces%2FSLP%2Fpages%2F27394064%2FLicensing%2BRunbook%2BSoftware%2BLicensing%2BAnd%2BCode%2BContribution%2BBetween%2BMozilla%2BAnd%2BOther%2BOrgs%2BProjects%29.%0D%0A&component=Github%3A%20Administration&contenttypemethod=list&contenttypeselection=text%2Fplain&defined_groups=1&filed_via=standard_form&flag_type-4=X&flag_type-607=X&flag_type-803=X&flag_type-936=X&needinfo_role=other&needinfo_type=needinfo_from&op_sys=Unspecified&priority=--&product=mozilla.org&qa_contact=cknowles%40mozilla.com&rep_platform=Unspecified&short_desc=Assess%20use%20of%20external%20addon%20NAME_HERE%20in%20Mozilla%27s%20GitHub%20organization%20ORG_NAME_HERE&target_milestone=---&version=other here], giving us as much information as you can
Please read these sections on [[#github_actions|Actions]] and [[#github_apps|Apps]] - file a bug [https://bugzilla.mozilla.org/enter_bug.cgi?assigned_to=nobody%40mozilla.org&bug_ignored=0&bug_severity=--&bug_status=NEW&bug_type=task&cf_fx_iteration=---&cf_fx_points=---&comment=I%20want%20to%20use%20the%20NAME_HERE%20App%2FAction%20in%20ORG_NAME_HERE%20for%20the%20following%20reasons%3A%0D%0A%0D%0ABelow%20are%20my%20answers%20to%20your%20stock%20questions%3A%0D%0A%0D%0A%2A%2A%20Which%20repositories%20do%20you%20want%20to%20have%20access%3F%20%28all%20or%20list%29%0D%0A%28Note%3A%20This%20mainly%20applies%20to%20applications.%20%20Actions%20are%20approved%20for%20entire%20GitHub%20orgs%2C%20though%20having%20this%20info%20can%20help%20security%20with%20their%20analysis%29%0D%0A%0D%0A%2A%2A%20Are%20any%20of%20those%20repositories%20private%3F%0D%0A%0D%0A%2A%2A%20Provide%20link%20to%20vendor%27s%20description%20of%20permissions%20needed%20and%20why%2C%20or%20general%20documentation%20link%20for%20either%20the%20app%20or%20action%0D%0A%0D%0A%2A%2A%20If%20an%20app%20-%20please%20provide%20the%20Install%20link%0D%0A%0D%0A%3E%20%2A%2ANOTE%2A%2A%0D%0A%3E%20%0D%0A%3E%20Think%20of%20this%20as%20you%20would%20any%203rd%20party%20source%20inclusion%20into%20a%20shipping%20product%2C%20including%20all%20the%20considerations%20%5Bhere%5D%28https%3A%2F%2Fmozilla-hub.atlassian.net%2Fwiki%2Fspaces%2FSLP%2Fpages%2F27394064%2FLicensing%2BRunbook%2BSoftware%2BLicensing%2BAnd%2BCode%2BContribution%2BBetween%2BMozilla%2BAnd%2BOther%2BOrgs%2BProjects%29.%0D%0A&component=Github%3A%20Administration&contenttypemethod=list&contenttypeselection=text%2Fplain&defined_groups=1&filed_via=standard_form&flag_type-4=X&flag_type-607=X&flag_type-803=X&flag_type-936=X&needinfo_role=other&needinfo_type=needinfo_from&op_sys=Unspecified&priority=--&product=mozilla.org&qa_contact=cknowles%40mozilla.com&rep_platform=Unspecified&short_desc=Assess%20use%20of%20external%20addon%20NAME_HERE%20in%20Mozilla%27s%20GitHub%20organization%20ORG_NAME_HERE&target_milestone=---&version=other&format=__default__ here], giving us as much information as you can


<div id="github_private_bug"></div>
<div id="github_private_bug"></div>


=== I need a private repo created ===
=== I need a private repo created ===
Being an open source company, Mozilla tries to do things in the open.  However, the need for private repositories is clear for various non-public data and other business reasons, and in order to track them, please request private repositories using this [https://bugzilla.mozilla.org/enter_bug.cgi?assigned_to=nobody%40mozilla.org&bug_ignored=0&bug_severity=--&bug_status=NEW&bug_type=task&cf_fx_iteration=---&cf_fx_points=---&comment=I%27ve%20read%20all%20of%20the%20%5Brepository%20creation%5D%5B1%5D%20section%2C%20and%20want%20to%20request%20a%20private%20repository.%20I%27ve%20filled%20in%20all%20the%20required%20fields.%0D%0A%0D%0AOrg%20for%20repo%3A%20REQUIRED%0D%0AName%20of%20Repository%3A%20%20REQUIRED%0D%0ALink%20to%20your%20people.m.o%20entry%20with%20verified%20GitHub%20login%3A%20REQUIRED%0D%0A%0D%0A%5BData%20Classification%5D%5B2%5D%20of%20data%20in%20repo%3A%20REQUIRED%0D%0AOther%20business%20justification%20for%20private%20repo%3A%0D%0AWhen%20can%20the%20repository%20be%20made%20public%3F%20REQUIRED%0D%0ANote%20-%20This%20is%20not%20to%20say%20%22it%20will%20DEFINITELY%20go%20public%20on%20that%20date%22%20but%20more%20%22when%2C%20if%20at%20all%2C%20can%20we%20ask%20about%20possibly%20making%20this%20public%3F%22%0D%0A%0D%0A%5B1%5D%3A%20https%3A%2F%2Fwiki.mozilla.org%2FGitHub%23Do_I_need_to_be_an_owner_to_create_repositories.3F%0D%0A%5B2%5D%3A%20https%3A%2F%2Fwiki.mozilla.org%2FSecurity%2FData_Classification%0D%0A&component=Github%3A%20Administration&contenttypemethod=list&contenttypeselection=text%2Fplain&defined_groups=1&filed_via=standard_form&flag_type-4=X&flag_type-607=X&flag_type-800=X&flag_type-803=X&flag_type-936=X&form_name=enter_bug&groups=mozilla-employee-confidential&maketemplate=Remember%20values%20as%20bookmarkable%20template&op_sys=Unspecified&priority=--&product=mozilla.org&qa_contact=cknowles%40mozilla.com&rep_platform=Unspecified&short_desc=Request%20for%20a%20Private%20Repository%20in%20the%20ORGNAME%20GitHub%20organization&target_milestone=---&version=other template]. <br />
Being an open source company, Mozilla tries to do things in the open.  However, the need for private repositories is clear for various non-public data and other business reasons, and in order to track them, please request private repositories using this [https://bugzilla.mozilla.org/enter_bug.cgi?assigned_to=nobody%40mozilla.org&bug_ignored=0&bug_severity=--&bug_status=NEW&bug_type=task&cf_fx_iteration=---&cf_fx_points=---&comment=I%27ve%20read%20all%20of%20the%20%5Brepository%20creation%5D%5B1%5D%20section%2C%20and%20want%20to%20request%20a%20private%20repository.%20I%27ve%20filled%20in%20all%20the%20required%20fields.%0D%0A%0D%0AOrg%20for%20repo%3A%20REQUIRED%0D%0AName%20of%20Repository%3A%20%20REQUIRED%0D%0ALink%20to%20your%20people.m.o%20entry%20with%20verified%20GitHub%20login%3A%20REQUIRED%0D%0A%0D%0A%5BData%20Classification%5D%5B2%5D%20of%20data%20in%20repo%3A%20REQUIRED%0D%0AOther%20business%20justification%20for%20private%20repo%3A%0D%0AWhen%20can%20the%20repository%20be%20made%20public%3F%20REQUIRED%0D%0ANote%20-%20This%20is%20not%20to%20say%20%22it%20will%20DEFINITELY%20go%20public%20on%20that%20date%22%20but%20more%20%22when%2C%20if%20at%20all%2C%20can%20we%20ask%20about%20possibly%20making%20this%20public%3F%22%0D%0A%0D%0A%5B1%5D%3A%20https%3A%2F%2Fwiki.mozilla.org%2FGitHub%23Do_I_need_to_be_an_owner_to_create_repositories.3F%0D%0A%5B2%5D%3A%20https%3A%2F%2Fwiki.mozilla.org%2FSecurity%2FData_Classification%0D%0A&component=Github%3A%20Administration&contenttypemethod=list&contenttypeselection=text%2Fplain&defined_groups=1&filed_via=standard_form&flag_type-4=X&flag_type-607=X&flag_type-800=X&flag_type-803=X&flag_type-936=X&form_name=enter_bug&groups=mozilla-employee-confidential&maketemplate=Remember%20values%20as%20bookmarkable%20template&op_sys=Unspecified&priority=--&product=mozilla.org&qa_contact=cknowles%40mozilla.com&rep_platform=Unspecified&short_desc=Request%20for%20a%20Private%20Repository%20in%20the%20ORGNAME%20GitHub%20organization&target_milestone=---&version=other&format=__default__ template]. <br />
Be sure to answer all questions marked 'REQUIRED' in the form.  As well as the ORGNAME in the title.  This lets us know what the repo is for, who needs access, all so that we don't lose track of the private repo
Be sure to answer all questions marked 'REQUIRED' in the form.  As well as the ORGNAME in the title.  This lets us know what the repo is for, who needs access, all so that we don't lose track of the private repo


Line 35: Line 35:
Archiving a repo sets the repository to read only, and allows it to be excluded easily from searches.  It also marks it as unused and removes it from consideration for bug bounties.  <br />
Archiving a repo sets the repository to read only, and allows it to be excluded easily from searches.  It also marks it as unused and removes it from consideration for bug bounties.  <br />
GitHub recommends closing all issues and PRs as part of the closure. <br />  
GitHub recommends closing all issues and PRs as part of the closure. <br />  
While any admin can archive the repository, we have scripting for doing the closures, and doing so reversibly.  (Also helpful if there's many repos needing attention). If you would like us to archive some repos, please file a bug using this [https://bugzilla.mozilla.org/enter_bug.cgi?assigned_to=nobody%40mozilla.org&bug_ignored=0&bug_severity=--&bug_status=NEW&bug_type=task&cf_fx_iteration=---&cf_fx_points=---&comment=Please%20archive%20%3CORG%3E%2F%3CREPONAME%3E%20%0D%0A%0D%0AReason%3A%20%0D%0A%0D%0ANote%3A%0D%0AIf%20you%20know%20an%20admin%20for%20the%20repo%2C%20please%20NeedInfo%20them%20here%2C%20we%20need%20someone%20with%20permissions%20to%20the%20repo%20to%20weigh%20in.%20%20Otherwise%2C%20we%27ll%20pursue%20any%20needed%20approvals%20when%20we%20receive%20the%20bug.%0D%0APlease%20make%20sure%20to%20update%20the%20title%20of%20the%20template%20before%20submitting.&component=Github%3A%20Administration&contenttypemethod=list&contenttypeselection=text%2Fplain&defined_groups=1&filed_via=standard_form&flag_type-4=X&flag_type-607=X&flag_type-803=X&flag_type-936=X&needinfo_role=other&needinfo_type=needinfo_from&op_sys=Unspecified&priority=--&product=mozilla.org&qa_contact=cknowles%40mozilla.com&rep_platform=Unspecified&short_desc=Please%20archive%20repo%20%3CORG%3E%2F%3CREPONAME%3E&target_milestone=---&version=other template].<br />  
While any admin can archive the repository, we have scripting for doing the closures, and doing so reversibly.  (Also helpful if there's many repos needing attention). If you would like us to archive some repos, please file a bug using this [https://bugzilla.mozilla.org/enter_bug.cgi?assigned_to=nobody%40mozilla.org&bug_ignored=0&bug_severity=--&bug_status=NEW&bug_type=task&cf_fx_iteration=---&cf_fx_points=---&comment=Please%20archive%20%3CORG%3E%2F%3CREPONAME%3E%20%0D%0A%0D%0AReason%3A%20%0D%0A%0D%0ANote%3A%0D%0AIf%20you%20know%20an%20admin%20for%20the%20repo%2C%20please%20NeedInfo%20them%20here%2C%20we%20need%20someone%20with%20permissions%20to%20the%20repo%20to%20weigh%20in.%20%20Otherwise%2C%20we%27ll%20pursue%20any%20needed%20approvals%20when%20we%20receive%20the%20bug.%0D%0APlease%20make%20sure%20to%20update%20the%20title%20of%20the%20template%20before%20submitting.&component=Github%3A%20Administration&contenttypemethod=list&contenttypeselection=text%2Fplain&defined_groups=1&filed_via=standard_form&flag_type-4=X&flag_type-607=X&flag_type-803=X&flag_type-936=X&needinfo_role=other&needinfo_type=needinfo_from&op_sys=Unspecified&priority=--&product=mozilla.org&qa_contact=cknowles%40mozilla.com&rep_platform=Unspecified&short_desc=Please%20archive%20repo%20%3CORG%3E%2F%3CREPONAME%3E&target_milestone=---&version=other&format=__default__ template].<br />  


<div id="github_transfer_bug"></div>
<div id="github_transfer_bug"></div>
Line 46: Line 46:
If this is a transfer out of Mozilla controlled orgs, we'll need to get various approvals, but filing a bug will get this started.
If this is a transfer out of Mozilla controlled orgs, we'll need to get various approvals, but filing a bug will get this started.


For all of the above, the proper link to file a bug is [https://bugzilla.mozilla.org/enter_bug.cgi?product=mozilla.org&component=Github%3A+Administration here]
For all of the above, the proper link to file a bug is [https://bugzilla.mozilla.org/enter_bug.cgi?product=mozilla.org&component=Github%3A+Administration&format=__default__ here]


=== Other requests ===
=== Other requests ===
Note that if the org isn't controlled by MoCo IT, we may only be able to redirect you to whatever resources we're aware of per [[#other_github|this chart.]]
Note that if the org isn't controlled by MoCo IT, we may only be able to redirect you to whatever resources we're aware of per [[#other_github|this chart.]]


Things like "I need access to a Repo" - generally this is handled by repo admins, but if you need more, or help finding an admin, file a bug [https://bugzilla.mozilla.org/enter_bug.cgi?product=mozilla.org&component=Github%3A+Administration here] with questions
Things like "I need access to a Repo" - generally this is handled by repo admins, but if you need more, or help finding an admin, file a bug [https://bugzilla.mozilla.org/enter_bug.cgi?product=mozilla.org&component=Github%3A+Administration&format=__default__ here] with questions


And general requests for help/advice - bugs to the [https://bugzilla.mozilla.org/enter_bug.cgi?product=mozilla.org&component=Github%3A+Administration GitHub Administration] component are the most reliable, but there's a matrix channel: [https://matrix.to/#/#github-admin:mozilla.org #github-admin], and email to ghe-admins @ mozilla . com
And general requests for help/advice - bugs to the [https://bugzilla.mozilla.org/enter_bug.cgi?product=mozilla.org&component=Github%3A+Administration&format=__default__ GitHub Administration] component are the most reliable, but there's a matrix channel: [https://matrix.to/#/#github-admin:mozilla.org #github-admin], and email to ghe-admins @ mozilla . com


== Recommendations and FAQ ==
== Recommendations and FAQ ==
100

edits

Navigation menu