W3C home > Mailing lists > Public > public-secondscreen@w3.org > August 2015

[presentation-api] Pull Request: Pull in issue tracker data using GitHub API

From: Anssi Kostiainen via GitHub <sysbot+gh@w3.org>
Date: Mon, 17 Aug 2015 11:40:46 +0000
To: public-secondscreen@w3.org
Message-ID: <pull_request.opened-42578951-1439811646-sysbot+gh@w3.org>
anssiko has just submitted a new pull request for 
https://github.com/w3c/presentation-api:

== Pull in issue tracker data using GitHub API ==
ReSpec has a feature that allows to pull in data using the GitHub API.
 This PR makes use of that feature and pulls open issue data directly 
from GH issues into the spec. This change should make it easier for us
 to keep the spec and GH issues in sync, as the latter will be the 
canonical source for all issue data. Any changes done to the GH issues
 (specifically, its topic or the first comment) will be automatically 
pulled into the latest spec.

For example, the following markup in the ReSpec source:

    <div class="issue" data-number="35"></div>

Is turned into the following markup automatically:

    <div class="issue" id="issue-35">
      <div class="issue-title" aria-level="5" role="heading" 
id="h-issue1">
        <a 
href="https://www.github.com/w3c/presentation-api/issues/35">
        <span>ISSUE 35</span></a>:    
        Refine how to do session teardown/disconnect/closing
      </div>
        <p>
          There are rough edges [... first comment in the respective 
GH issue ...].
        </p>
    </div>

@mfoltzgoogle Please review and merge if you're happy with the change.

See https://github.com/w3c/presentation-api/pull/158
Received on Monday, 17 August 2015 11:40:47 UTC

This archive was generated by hypermail 2.3.1 : Monday, 17 August 2015 11:40:48 UTC