question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Wagtail package directory

See original GitHub issue

Challenge

Wagtail plugins are a bit hard to discover, as they are scattered across several channels:

Proposal

Lets build an official listing of Wagtail community plugins.

Rationale

Having an official ‘Wagtail plugins’ app, linked to the primary Wagtail website, would help new developers find out what is available to help them build their Wagtail site and user experience.

Data model

This is a work in progress, and is subject to change through discussion.

The initial data model would contain at least the following elements.

Package

The main entity in the ‘package directory’. It could be based on the Wagtail Page class, and might have the following fields:

  • title: name of the package
  • description: rich text
  • sourcecode_link: link to a repository page, such as on GitHub or Gitlab
  • support_link: link to a place where users can get support, such as GitHub/Gitlab issues pages
  • category: selection of one (or more?) category where this plugin should be listed

Automated package analytics

Similar to the Django package index, the Wagtail package directory can collect statistics from the upstream sources, such as GitHub. These statistics could be collected via calls to an API, which would probably need a task runner, like Celery.

Examples for inspiration

Original discussion

This idea was brought up while discussing issue #4910

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

3reactions
thibaudcolascommented, Jan 17, 2019

Having worked on both https://github.com/springload/awesome-wagtail and https://madewithwagtail.org/, I find that maintaining such listings takes a lot of effort when they are centrally managed, as opposed to aggregated. It’s not just managing the content, but also maintaining the site (upgrades, bug fixes, user administration). Since packages for Wagtail already exist in a central registry (PyPI), I’d strongly suggest integrating their APIs instead of creating another source of truth.

If creating another listing, IMHO having it versioned and editable via GitHub is one of the best ways to reduce the maintenance burden. Most people making packages will already have GitHub accounts, be aware of the PR workflow, and from the maintainer’s side it’s very easy to manage those submissions. Then you can focus on building a nice UI for the listing, instead of the management workflow.


From the wagtail.io side, I think a page pointing to the existing listings would already be super valuable, perhaps also with better documentation on how to create good, discoverable Wagtail packages. At the moment the Developing packages for Wagtail docs are a bit hidden, and very short.

2reactions
allcapscommented, Oct 28, 2020

There has been progress:

Wagtail Packages that are listed on PyPi are added to Djangopackages.org. See https://www.fourdigits.nl/blog/wagtail-packages/.

Djangopackages.org will be the -community editable- data source to feed a Wagtail package directory page on wagtail.io. See https://github.com/wagtail/wagtail.io/pull/74

Read more comments on GitHub >

github_iconTop Results From Across the Web

Packages | Wagtail CMS
A UI toolkit that extends Wagtail's admin list views and allows you to build custom ... Meeting Guide compatible Python package for Django's...
Read more >
Wagtail Packages - Four Digits
This article is about Wagtail packages and how you can find them. ... to embrace djangopackages.org as the Wagtail package directory.
Read more >
Where is the client folder of wagtail on windows 10
The client folder is not part of the installed Wagtail package - instead, the package contains compiled and minified versions of the CSS...
Read more >
springload/awesome-wagtail - GitHub
A curated list of awesome packages, articles, and other cool resources from the Wagtail community. Wagtail is a Python CMS powered by Django,...
Read more >
Development — Wagtail 2.8.1 documentation
Setting up a local copy of the Wagtail git repository is slightly more involved ... With your preferred virtualenv activated, install the Wagtail...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found