Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
5b72f9cd
Commit
5b72f9cd
authored
Nov 01, 2009
by
Rob Pike
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save some text from the old FAQ; will get reworked in time
R=rsc
http://go/go-review/1018008
parent
83f0b718
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
1 deletion
+31
-1
doc/contribute.html
doc/contribute.html
+31
-1
No files found.
doc/contribute.html
View file @
5b72f9cd
<!-- Contributing to the Go project -->
TODO(go-dev): Write this document.
<h2
id=
"TODO"
>
TODO(go-dev): Write this document
</h2>
<p>
Have to work on the tools first.
<p>
Text previously from the FAQ placed here for safekeeping.
<ol>
<li>
If it's a significant change, discuss on the mailing list before embarking.
<li>
Check out the Go source code files. The library sources are in
<code>
go/src/pkg
</code>
.
<li>
Make changes; add tests as appropriate. Try to follow existing style,
including tabs for indentation, and no trailing whitespace. In
documentation comments for public declarations, use full sentences
and begin with the name of the thing being described, because godoc
(or other tools) may someday display these comments out of context.
<li>
Write the
<code>
Makefile
</code>
by following existing examples.
<li>
Run
<code>
make
</code>
and
<code>
make test
</code>
in the affected
directories.
<li>
If you have added a new dependency, you may need to
<code>
cd go/src/lib;
./deps.bash
</code>
to update the Make.deps file included in the Makefile.
For a new component, update the
<code>
Makefile
</code>
and then run
<code>
deps.bash
</code>
.
<li><code>
cd go/src; ./all.bash
</code>
<li>
Once
<code>
all.bash
</code>
succeeds (output like
"N known bugs; 0 unexpected bugs" is OK),
<a
href=
"/doc/contribute.html"
>
submit a CL
</a>
.
</ol>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment