Git Product home page Git Product logo

dev-guide's Introduction

 _ _ _                           
(_) | |_   _ _ __ ___   ___  ___ 
| | | | | | | '_ ` _ \ / _ \/ __|
| | | | |_| | | | | | | (_) \__ \
|_|_|_|\__,_|_| |_| |_|\___/|___/

 ____                 _                       _        ____       _     _      
|  _ \  _____   _____| | ___  _ __   ___ _ __( )___   / ___|_   _(_) __| | ___ 
| | | |/ _ \ \ / / _ \ |/ _ \| '_ \ / _ \ '__|// __| | |  _| | | | |/ _` |/ _ \
| |_| |  __/\ V /  __/ | (_) | |_) |  __/ |    \__ \ | |_| | |_| | | (_| |  __/
|____/ \___| \_/ \___|_|\___/| .__/ \___|_|    |___/  \____|\__,_|_|\__,_|\___|


This guide serves to document the illumos build system and how to work
inside of it. If you find issues, typos, or want additional content,
please file a bug at http://github.com/illumos/dev-guide. You can find a
browseable copy of this work at http://illumos.org/books/dev.

To build this, first ensure python is installed. Then, run either dmake
or gmake. The resulting files are placed in the output/ directory.

dev-guide's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dev-guide's Issues

Debugging link links to integrating

In the section "Basic illumos workflow", subsection "Victory", the link for "Debugging" goes to integrating.html when it should go to debugging.html:

specifically, in the file called workflow this line looks wrong:
- [Debugging](./integrating.html)

cron guide update?

Automatically pull master and rebuild the guide.

@jclulow Any reason not to do this?

(@rzezeski asked if we could pull in some updates and you were traveling: #18 (comment))

I'm happy to do this work, unless there's a reason not to. Ryan would also be happy to spend the cycles on it.

  • Deploy key
  • Script
  • Chef + cron job

Needs glossary

I would like to add a glossary section; dev guide itself suggests I should check in before writing this myself. I would propose to make this an appendix, and place it before the documentation license section.

Please let me know thumbs up / thumbs down / thumbs sideways.

Typo in `Guide Layout' section

Under the heading `Component Anatomy, Creating and Modifying Components':

"It first covers the anatomy of different libraries, commands, and kernel modules, and device drivers."

There is an extra `and', after commands. Maybe a leftover.

top-level "index.html" symlink should point to "intro" page

When users navigate to https://illumos.org/books/dev, the web server is implicitly appending /index.html. This page doesn't currently exist by default. We've been creating (as a deployment step) a symlink from index.html to intro.html to work around this, but it'd be best to just do so directly in the Makefile.

Intro / guide layout: Grammar / diction

There are a few scattered typos and awkward wordings in the introduction to the guide, including under the section "What is illumos," "Guide layout", and Conventions.

Update glossary page about lint

The "Appendix: Glossary of Terms" page not updated to the fact that we already eliminated
the Sun Studio lint dependency too ("Sun Studio" term).

We use the smatch static code analysis tool.

The phasing-out of lint started with this message from the illumos-developer mailing list:
[HEADS-UP] GCC 7 shadow compiler; no more lint.

There is an IPD (illumos Project Discussion) for this too: IPD 2 Running smatch for Illumos builds.

Smatch introduced in Jan 5 2019 with this commit 10063 basic support for smatch,
and from Jul 18 2019 this is the default tool, see this commit: 11462 enable smatch by default.

The "Lint; linting" term have to be updated too, to indicate that even if we don't use
the Sun Studio lint tool anymore, someone might use the "linting" term
interchangeably with "doing automated static code analysis" -- now with smatch.

Drop "ON" from title

Throughout the guide, the guide is called "Illumos developer's guide" however the page titles call it "illumos ON Developer's Guide". This is inconsistent at the very least, and mildly confusing at worst - illumos is what used to be ON. There's no Illumos ON.

Setting up illumos.sh section path

The path referred in the creation of illumos.sh, i.e. /opt/onbld/env/illumos does not exist in SmartOS.

I really don’t know where to get this file.

The help page still points to the old wiki mailing list page

In this file:
For the full set of illumos lists, as well as, various distribution-specific lists, please see [The illumos wiki Mailing list page](http://wiki.illumos.org/display/illumos/illumos+Mailing+Lists).
should be:
For the full set of illumos lists, as well as, various distribution-specific lists, please see [The illumos Mailing lists page](https://illumos.org/docs/community/lists/).

This is a low priority issue because the visitor will be automatically redirected to the new mailing lists page.

Update for gerrit, illumos-docs

illumos-docs had a bunch of overhauls here that got missed including streamlining code review, etc. We should update the content here.

Small Typo

in the layout file at line 84, pacakge -> package

Grammatical Error `workflow` file.

In the section Setting the path to our workspace, there is a grammatical error in the first paragraph:

#### Setting the path to our workspace
Next, we need to make sure that `nightly` and other tools can find where our
The variables that we want to modify are `GATE` and `CODEMGR_WS`. We're going to
set `GATE` to the name of the directory that we're in and `CODEMGR_WS` to the
[...snip...]

It looks like the first line of the paragraph should have been deleted (or completed).

#### Setting the path to our workspace
Next, we need to make sure that `nightly` and other tools can find where our Illumos
directory is. This requires modifying 2 variables: `GATE` and `CODEMGR_WS`. We're going to
set `GATE` to the name of the directory that we're in and `CODEMGR_WS` to the
[...snip...]

Grammatical Error In `workflow` file, `obtaining closed binaries` section

Error in obtaining closed binaries section ("operating" instead of "operating system"):

 ### Obtaining Closed Binaries
While Sun made almost all of the operating open source, there are still a few
closed components that the illumos community is replacing. You can obtain a copy

Should be:

 ### Obtaining Closed Binaries
While Sun made almost all of the operating system open source, there are still a few
closed components that the illumos community is replacing. You can obtain a copy

CODEMGR_WS variable could be dynamic

In the developer guide under section Setting the path to our workspace we explain setting
the CODEMGR_WS variable as: export CODEMGR_WS="/ws/rm/$GATE"

This could be made more dynamic by setting variable like:

export CODEMGR_WS="git rev-parse --show-toplevel"

@rmustacc Does this make sense? If so, I'll send a patch updating this.

Update for IPD 4

With the manual page restructuring coming in, we should update the set of manual pages here.

Instructions for creating a new build environment using `onu` missing the `-d` flag

In the Testing section of the Basic illumos Workflow section, when it mentions using onu to create the new build environment the example command is missing the -d flag to point it to the locally built packages. Currently it is:

# onu -t new-nightly-be
#

When it should be:

# onu -t new-nightly-be -d /path/to/gate/packages/<arch>/nightly/
#

Missing the -d flag results in it trying to reach the ipkg.sfbay domain which no longer exists and it fails because it cannot resolve the hostname.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.