[gimp-web-devel/pat/bootstrap] content, layouts, roadmaps: generate roadmap table through shortcode.



commit dce2ae76211d28dcd211f1af86c082133ba78c9e
Author: Jehan <jehan girinstud io>
Date:   Tue Sep 6 14:33:11 2022 +0200

    content, layouts, roadmaps: generate roadmap table through shortcode.
    
    The goal is to be able to generate the same roadmap in various places
    when needed. In particular, I generate the 3.0 roadmap also on the
    landing page (additionally to the roadmaps page).
    
    Moreover it makes editing roadmaps more localized, each version in its
    own file with simple format.

 content/_index.md                  |  6 ++++++
 content/core_developers/roadmap.md | 40 +++-----------------------------------
 layouts/shortcodes/roadmap.html    |  4 ++++
 roadmaps/2.10.md                   | 18 +++++++++++++++++
 roadmaps/3.0.md                    |  7 +++++++
 roadmaps/3.2.md                    |  6 ++++++
 6 files changed, 44 insertions(+), 37 deletions(-)
---
diff --git a/content/_index.md b/content/_index.md
index 9ad9593..3303e6a 100644
--- a/content/_index.md
+++ b/content/_index.md
@@ -15,3 +15,9 @@ This site tries to provide useful information for developers:
 
 *Note: for the main GIMP website, visit [www.gimp.org](https://www.gimp.org)
 instead; the GIMP manual is at [docs.gimp.org](https://docs.gimp.org/).*
+
+## GIMP 3.0 roadmap
+
+{{< roadmap "3.0" >}}
+
+*[See more roadmaps](/core_developers/roadmap/)*
diff --git a/content/core_developers/roadmap.md b/content/core_developers/roadmap.md
index bedbcee..5009f1d 100644
--- a/content/core_developers/roadmap.md
+++ b/content/core_developers/roadmap.md
@@ -36,25 +36,7 @@ This branch is considered pretty stable and our focus really shifted on
 GIMP 3.0. It is still possible that new features appear in further 2.10
 releases, yet expectation is low.
 
-| Feature |  Status |  Comments |
-|---------|---------|-----------|
-| High bit depths |  Yes |  Released in 2.9.2 |
-| Preview filters on canvas |  Yes |  Released in 2.9.2 |
-| OpenCL support |  Yes |  Released in 2.9.2, more plugins need OpenCL version |
-| Turn the IWarp plug-in into an on-canvas tool |  Yes |  Initial version released in 2.9.2. Improved 
version to be released in 2.9.6. |
-| Merge basic transformation tools |  Yes |  Unified Transform tool, released in 2.9.2 |
-| Canvas rotation and flipping|  Yes |  Released in 2.9.2 |
-| MyPaint Brush tool |  Yes |  Released as stable in 2.9.4. No dynamic support though ([bug 
768772](https://gitlab.gnome.org/GNOME/gimp/issues/935) |
-| Support the XDG Base Directory Specification |  Yes |  Released in 2.9.2 |
-| Symmetry painting|  Yes |  Released in 2.9.4 |
-| Layer modes rewrite |  Yes |  We need to support both legacy, gamma-corrected, and linear modes, sensible 
UI is missing |
-| Better support for image metadata |  Yes |  Released in 2.9.6 |
-| Support layer masks on layer groups |  Yes |  Released in 2.10 |
-| Cleanup libgimp |  Yes |  we need to go through the API with a fine comb and check to deprecate all 
functions which are not suitable for 3.0. |
-| UI themes |  Yes |  Released in 2.9.6 |
-| Icon themes |  Yes |  Released in 2.9.6 |
-| Icon size minimal support |  Yes |  Released in 2.9.6 |
-| Color management fixes and improvements |  work in progress |  Changes released in 2.10.x, more coming in 
3.x |
+{{< roadmap "2.10" >}}
 
 [Full list of open bugs with milestone 2.10](https://gitlab.gnome.org/GNOME/gimp/issues?milestone_title=2.10)
 
@@ -71,15 +53,7 @@ Benefits:
 * Wayland support on Linux
 * Refactored code, easier to build new features upon
 
-| Feature |  Status |  Comments |
-|---------|---------|-----------|
-| Port to GTK3 | nearly done | GtkAction→GAction, GtkApplication ports in progress |
-| Redesign wire protocol for scripts/plug-ins | in progress | GObject Introspection introduced, along with 
refactoring for plug-ins, no wire protocol redesign in the end, big API improvements still worked one |
-| Wayland support | in progress | Various bugs still happen, especially in window management area (broken 
sizes and positions) |
-| Space invasion | in progress | Various color management improvements, CMYK support (not as core image 
format, but import/export and picking/choosing/viewing) |
-| Multi-layer selection | nearly done |  Most tools are multi-layer selection aware, some code still need to 
be improved (Alignment tool, GEGL filters, plug-in API…) |
-| Extensions management | in progress | core work mostly done; website and platform still need to be done |
-| Paint Select tool |  work in progress | |
+{{< roadmap "3.0" >}}
 
 [List of open bugs with milestone 3.0](https://gitlab.gnome.org/GNOME/gimp/issues?milestone_title=3.0)
 
@@ -94,15 +68,7 @@ implemented.
 More features e.g. from the 'Future' section can sneak in, but that will
 depend on the availability of developers.
 
-
-| Feature | Status | Comments |
-|---------|--------|----------|
-| Filter/Adjustment layers |  No |  Needs complete GEGL port first, API for stacking GEGL ops on a layer 
will be available in 2.10 |
-| Layer effects |  No |  bevel/emboss, drop shadow etc., needs complete GEGL port first |
-| Core animation | in progress |  Animation plug-in is dropped, this is being rewritten as a core feature |
-| Better window management |  No |  Rather than a SWM vs MWM, both able to do some things the other can't, 
we should have a single window mode which can do everything |
-| Script recording and playback | in progress |  [https://gitlab.gnome.org/GNOME/gimp/issues/8 Bug #8], this 
has somewhere started through the 3.0 API rewrite in 3.0 which will make macro support a stroll in the park |
-| Smart objects | in progress |  [https://gitlab.gnome.org/GNOME/gimp/issues/453 Bug #453] |
+{{< roadmap "3.2" >}}
 
 [List of open bugs with milestone 3.2](https://gitlab.gnome.org/GNOME/gimp/issues?milestone_title=3.2)
 
diff --git a/layouts/shortcodes/roadmap.html b/layouts/shortcodes/roadmap.html
new file mode 100644
index 0000000..8cc0e53
--- /dev/null
+++ b/layouts/shortcodes/roadmap.html
@@ -0,0 +1,4 @@
+{{- $version := ( .Get 0 ) -}}
+{{- $path := printf "roadmaps/%s.md" $version -}}
+
+{{- print "| Feature | Status | Comments |\n|--|--|--|\n" ( readFile $path ) | markdownify -}}
diff --git a/roadmaps/2.10.md b/roadmaps/2.10.md
new file mode 100644
index 0000000..92804e5
--- /dev/null
+++ b/roadmaps/2.10.md
@@ -0,0 +1,18 @@
+| High bit depths |  Yes |  Released in 2.9.2 |
+| Preview filters on canvas |  Yes |  Released in 2.9.2 |
+| OpenCL support |  Yes |  Released in 2.9.2, more plugins need OpenCL version |
+| Turn the IWarp plug-in into an on-canvas tool |  Yes |  Initial version released in 2.9.2. Improved 
version to be released in 2.9.6. |
+| Merge basic transformation tools |  Yes |  Unified Transform tool, released in 2.9.2 |
+| Canvas rotation and flipping|  Yes |  Released in 2.9.2 |
+| MyPaint Brush tool |  Yes |  Released as stable in 2.9.4. No dynamic support though ([bug 
768772](https://gitlab.gnome.org/GNOME/gimp/issues/935) |
+| Support the XDG Base Directory Specification |  Yes |  Released in 2.9.2 |
+| Symmetry painting|  Yes |  Released in 2.9.4 |
+| Layer modes rewrite |  Yes |  We need to support both legacy, gamma-corrected, and linear modes, sensible 
UI is missing |
+| Better support for image metadata |  Yes |  Released in 2.9.6 |
+| Support layer masks on layer groups |  Yes |  Released in 2.10 |
+| Cleanup libgimp |  Yes |  we need to go through the API with a fine comb and check to deprecate all 
functions which are not suitable for 3.0. |
+| UI themes |  Yes |  Released in 2.9.6 |
+| Icon themes |  Yes |  Released in 2.9.6 |
+| Icon size minimal support |  Yes |  Released in 2.9.6 |
+| Color management fixes and improvements |  work in progress |  Changes released in 2.10.x, more coming in 
3.x |
+
diff --git a/roadmaps/3.0.md b/roadmaps/3.0.md
new file mode 100644
index 0000000..ae45311
--- /dev/null
+++ b/roadmaps/3.0.md
@@ -0,0 +1,7 @@
+| Port to GTK3 | nearly done | GtkAction→GAction, GtkApplication ports in progress |
+| Redesign wire protocol for scripts/plug-ins | in progress | GObject Introspection introduced, along with 
refactoring for plug-ins, no wire protocol redesign in the end, big API improvements still worked one |
+| Wayland support | in progress | Various bugs still happen, especially in window management area (broken 
sizes and positions) |
+| Space invasion | in progress | Various color management improvements, CMYK support (not as core image 
format, but import/export and picking/choosing/viewing) |
+| Multi-layer selection | nearly done |  Most tools are multi-layer selection aware, some code still need to 
be improved (Alignment tool, GEGL filters, plug-in API…) |
+| Extensions management | in progress | core work mostly done; website and platform still need to be done |
+| Paint Select tool |  sandbox | |
diff --git a/roadmaps/3.2.md b/roadmaps/3.2.md
new file mode 100644
index 0000000..3b81c24
--- /dev/null
+++ b/roadmaps/3.2.md
@@ -0,0 +1,6 @@
+| Filter/Adjustment layers |  No |  Needs complete GEGL port first, API for stacking GEGL ops on a layer 
will be available in 2.10 |
+| Layer effects |  No |  bevel/emboss, drop shadow etc., needs complete GEGL port first |
+| Core animation | in progress |  Animation plug-in is dropped, this is being rewritten as a core feature |
+| Better window management |  No |  Rather than a SWM vs MWM, both able to do some things the other can't, 
we should have a single window mode which can do everything |
+| Script recording and playback | in progress |  [https://gitlab.gnome.org/GNOME/gimp/issues/8 Bug #8], this 
has somewhere started through the 3.0 API rewrite in 3.0 which will make macro support a stroll in the park |
+| Smart objects | in progress |  [https://gitlab.gnome.org/GNOME/gimp/issues/453 Bug #453] |


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]