Skip to content

Commit

Permalink
Backfilling the NEWS and fixing the snapcraft script to work off gith…
Browse files Browse the repository at this point in the history
…ub. [ci skip]
  • Loading branch information
sfkleach committed Jan 1, 2017
1 parent 7f703b0 commit 5aacb6a
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 2 deletions.
45 changes: 45 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,6 +1,51 @@
Ginger Development News
=======================

Ginger Version 0.9.2
--------------------

Ubuntu SNAP Packaging
~~~~~~~~~~~~~~~~~~~~~
Canonical have a new 'universal' package format they call Snap. Ginger has been
rewritten to be Snap compliant. This is the fastest and simplest way to
install, update and remove Ginger, at least on Ubuntu. (There are other
competing formats, such as Flatpak, that would also be possible.)

% sudo snap install --devmode https://github.com/Spicery/ginger/releases/download/v0.9.2/ginger_0.9.2_amd64.snap

Command-Line Interface
~~~~~~~~~~~~~~~~~~~~~~
The command-line interface has been substantially rewritten to make GNU readline
part of the core functionality. This eliminates the dependency on rlwrap, although
that remains a useful tool for developers e.g. for gvmtest. This simplifies the
delivery and setup and the ginger executable is now a genuine executable and not
a shebang script - the latter unfortunately being more limited in terms of
scripting.

The ginger executable now takes a 'command' argument that selects the actual
program:

% ginger <COMMAND> <OPTIONS>

The program is selected by the very simple strategy of prefixing the command
with "ginger-". Hence, as an example, the following two command-line are identical:

% ginger admin
% ginger-admin

If omitted the command defaults to "cli", and invokes "ginger-cli". This is an abbreviation for "command line interface".

Refactorings
~~~~~~~~~~~~
* The old appginger executable, which has been without any real use for several
years, has been properly retired. The few places it was used have been
properly replace by ginger-script.
* Reduction in the use of old-style C-macros in favour of C++ constants.
* System-functions have been re-organised to make it possible to manage them
in a modular way. This functionality has not been used as yet.
* The system-functions table has been renamed to something more sensible.


Ginger Version 0.9.1
--------------------

Expand Down
4 changes: 2 additions & 2 deletions snapcraft/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: ginger
version: "0.9.2"
summary: "The Ginger programming language, packaged as a snap"
description: "Ginger itself is a intended to be a rigorous but friendly programming language and supporting toolset. It includes a syntax-neutral programming language, a virtual machine implemented in C++ that is designed to support the family of Spice language efficiently, and a collection of supporting tools."
confinement: strict
confinement: devmode

apps:
ginger:
Expand All @@ -14,4 +14,4 @@ parts:
ginger-steelypip:
plugin: autotools
configflags: ["--enable-snap"]
source: ..
source: https://github.com/Spicery/ginger.git

0 comments on commit 5aacb6a

Please sign in to comment.