[Bug 58620] Jenkins: Generate KSS docs from LESS and publish to doc.wikimedia.org

2014-09-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58620

--- Comment #17 from Antoine "hashar" Musso  ---
Seems fine: npm-run-script doc

In Jenkins Job Builder, I have generic templates for python tox and ruby
bundler:

'{name}-tox-{toxenv}'
'{name}-bundle-{bundlecommand}'  https://gerrit.wikimedia.org/r/#/c/160983/

So we can probably come up with a '{name}-npmrunscript-{npmscript}' command
which would be realized as:

- project:
  name: VisualEditor
  npmscript:
   - doc
  jobs:
   - '{name}-npmrunscript-{npmscript}'


And the template would contain:

 npm run-script {npmscript}

Might need to add an 'npm install' before, not sure.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58620] Jenkins: Generate KSS docs from LESS and publish to doc.wikimedia.org

2014-09-23 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58620

--- Comment #16 from Matthew Flaschen  ---
(In reply to Antoine "hashar" Musso from comment #14)
> > Do you mean Grunt (which runs on node.js)?  That's the node.js build tool
> > I normally see used.
> 
> I guess npm as an entry point for jenkins (i.e. npm test) which would then
> use grunt to run a wide range of different tests :d

Hmm, thanks.  This is not a test though.

While "npm test" exists (https://www.npmjs.org/doc/cli/npm-test.html), "npm
doc" does not.  There is apparently a way to have custom scripts
(https://www.npmjs.org/doc/misc/npm-scripts.html ,
https://www.npmjs.org/doc/cli/npm-run-script.html), but we would need to
standardize on a name (e.g. npm-run-script doc).

Is there such a convention already?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58620] Jenkins: Generate KSS docs from LESS and publish to doc.wikimedia.org

2014-09-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58620

--- Comment #15 from Gerrit Notification Bot  ---
Change 161998 had a related patch set uploaded by Prtksxna:
kss: Add Gruntfile

https://gerrit.wikimedia.org/r/161998

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58620] Jenkins: Generate KSS docs from LESS and publish to doc.wikimedia.org

2014-09-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58620

Gerrit Notification Bot  changed:

   What|Removed |Added

 Status|NEW |PATCH_TO_REVIEW

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58620] Jenkins: Generate KSS docs from LESS and publish to doc.wikimedia.org

2014-09-22 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58620

--- Comment #14 from Antoine "hashar" Musso  ---
> Do you mean Grunt (which runs on node.js)?  That's the node.js build tool
> I normally see used.

I guess npm as an entry point for jenkins (i.e. npm test) which would then use
grunt to run a wide range of different tests :d

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58620] Jenkins: Generate KSS docs from LESS and publish to doc.wikimedia.org

2014-09-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58620

--- Comment #13 from Matthew Flaschen  ---
(In reply to Antoine "hashar" Musso from comment #11)
> Can you reach out to Timo about it?  I think for Javascript purposes he
> would like developers to define npm entry points.  So we would simply invoke
> 'npm doc' or something and publish whatever is generated under a given dir
> (ex: /doc/).

Do you mean Grunt (which runs on node.js)?  That's the node.js build tool I
normally see used.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58620] Jenkins: Generate KSS docs from LESS and publish to doc.wikimedia.org

2014-09-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58620

--- Comment #12 from Jon  ---
Timo is in the office this week.. Maybe you could grab him S?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58620] Jenkins: Generate KSS docs from LESS and publish to doc.wikimedia.org

2014-09-19 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58620

--- Comment #11 from Antoine "hashar" Musso  ---
Can you reach out to Timo about it?  I think for Javascript purposes he would
like developers to define npm entry points.  So we would simply invoke 'npm
doc' or something and publish whatever is generated under a given dir (ex:
/doc/).

That would let you define whatever you want to run to build documentation which
is much more scalable than having to handle defines in jenkins.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58620] Jenkins: Generate KSS docs from LESS and publish to doc.wikimedia.org

2014-09-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58620

--- Comment #10 from Matthew Flaschen  ---
yardoc is now being used and Jenkins is populating
https://doc.wikimedia.org/rubygems/mediawiki-ruby-api/ and
https://doc.wikimedia.org/rubygems/mediawiki-selenium/ .  So that's something
to study when implementing this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58620] Jenkins: Generate KSS docs from LESS and publish to doc.wikimedia.org

2014-09-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58620

--- Comment #9 from sp...@wikimedia.org ---
In the interim, `ssh tools-login.wmflabs.org; become styleguide` is generating
http://tools.wmflabs.org/styleguide/ in a cron job. I don't understand
misc.yaml, mediawiki.yaml, zuul-config/layout.yaml enough to work on this.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58620] Jenkins: Generate KSS docs from LESS and publish to doc.wikimedia.org

2014-05-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58620

sp...@wikimedia.org changed:

   What|Removed |Added

 CC||mflasc...@wikimedia.org

--- Comment #8 from sp...@wikimedia.org ---
*** Bug 64221 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58620] Jenkins: Generate KSS docs from LESS and publish to doc.wikimedia.org

2014-05-02 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58620

--- Comment #7 from Antoine "hashar" Musso  ---
Since mss is a node module, we could have it added to the
integration/jenkins.git repository which has tools/package.json. It currently
provides:

 {
"name": "wikimedia-integration-jenkins",
"version": "0.2.5",
"dependencies": {
"grunt": "0.4.1",
"grunt-cli": "0.1.13",
"grunt-contrib-qunit": "0.4.0",
"phantomjs": "~1.9.0-1",
"grunt-contrib-csslint": "0.2.0",
"jshint": "2.4.4"
}
 }

So maybe add kss in there and forget about git-deploy and integration/kss.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58620] Jenkins: Generate KSS docs from LESS and publish to doc.wikimedia.org

2014-02-24 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58620

Antoine "hashar" Musso  changed:

   What|Removed |Added

   Priority|Unprioritized   |Normal

--- Comment #6 from Antoine "hashar" Musso  ---
Pending upload of kss in integration/kss.git so we can get it deployed on
Jenkins slaves.  Then we need some script to generate the doc and move the
generated doc under the doc website.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58620] Jenkins: Generate KSS docs from LESS and publish to doc.wikimedia.org

2014-01-27 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58620

Krinkle  changed:

   What|Removed |Added

 Status|PATCH_TO_REVIEW |NEW

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58620] Jenkins: Generate KSS docs from LESS and publish to doc.wikimedia.org

2013-12-31 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58620

--- Comment #5 from Gerrit Notification Bot  ---
Change 103095 merged by Alexandros Kosiaris:
Add integration/kss to deployment repo config

https://gerrit.wikimedia.org/r/103095

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58620] Jenkins: Generate KSS docs from LESS and publish to doc.wikimedia.org

2013-12-31 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58620

--- Comment #4 from Antoine "hashar" Musso  ---
I have created a .gitreview file for integration/kss.git repository so we can
add it in the deployment system.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58620] Jenkins: Generate KSS docs from LESS and publish to doc.wikimedia.org

2013-12-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58620

Gerrit Notification Bot  changed:

   What|Removed |Added

 Status|NEW |PATCH_TO_REVIEW

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58620] Jenkins: Generate KSS docs from LESS and publish to doc.wikimedia.org

2013-12-21 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58620

--- Comment #3 from Gerrit Notification Bot  ---
Change 103095 had a related patch set uploaded by Spage:
Add integration/kss to deployment repo config

https://gerrit.wikimedia.org/r/103095

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l


[Bug 58620] Jenkins: Generate KSS docs from LESS and publish to doc.wikimedia.org

2013-12-18 Thread bugzilla-daemon
https://bugzilla.wikimedia.org/show_bug.cgi?id=58620

Krinkle  changed:

   What|Removed |Added

Summary|Jenkins: Generate KSS   |Jenkins: Generate KSS docs
   |documentation from LESS and |from LESS and publish to
   |publish to  |doc.wikimedia.org
   |doc.wikimedia.org   |

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
___
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l