Skip to content

Releases: Eccenux/wikiploy-rollout-example

v2.1 edit summary

03 Mar 17:44
Compare
Choose a tag to compare

This version is an update to Wikiploy version 2.1 which introduced a setupSummary() function.

setupSummary is a helper function that can replace your usages of userPrompt. It prompts a user running wikiploy for a summary of changes. It can optionally add a version number to the full summary of deploy-edits.

Parameters

  • ployBot: A Wikiploy bot object. This is required to setup the summary() function.
  • version (optional): The version of your gadget. Defaults to an empty string if not provided.
  • standardSummary (optional): A string that provides a standard summary. Defaults to "changes from Github".

If your answer to the prompt would be: "fixed bug #123", you would get a full summary: "v5.6.0: fixed bug #123" (v${version}: ${summary}).
For no answer you would get: "v5.6.0: changes from Github".

Usage

Basic usage:

// custom summary from a prompt
await setupSummary(ployBot);

Version from package:

(async () => {
	// custom summary from a prompt
	let version = await readVersion('package.json');
	await setupSummary(ployBot, version);
	
	// [...]

	await ployBot.deploy(configs);
})().catch(err => {
	console.error(err);
	process.exit(1);
});

v2.0 light and fast

10 Feb 21:20
Compare
Choose a tag to compare

You can use wiki-gadget-example*.zip files as a starting point for your own project. See usage info in: README-dev-usage.md (a copy is provided both zip files).

In this release:

  1. Updated to Wikiploy v2.0. WikiployLite is now synonymous with Wikiploy. You can use either of the class names.
  2. Uses Browserify to build JS.
  3. Uses LessCSS to build CSS.
  4. Uses Mocha/Chai for unit testing.

v1.8 prompt for summary

21 Dec 15:30
Compare
Choose a tag to compare

This repo can now be used as a starting point for your own project. See usage info in: README-dev-usage.md (a copy is provided in zip files).

In this release:

  1. Wikiploy Lite is now a recommended usage scenario.
  2. Uses Wikiploy v1.8, which introduced a helper for user prompt, Wikiploy. This makes it easier to ask for a summary when you wikiploy changes.
  3. Uses Browserify to build JS.
  4. Uses LessCSS to build CSS.
  5. Uses Mocha/Chai for unit testing.