matplotlib.org's Issues
Do we need to be able to run Caddy from a checkout directly?
Initially, I wrote the Caddyfile
to be able to be run locally. With the Ansible config added, we have a couple redundancies defining, e.g., the list of subrepos to clone and serve. We can remove that redundancy by making the Caddyfile a template, but then it can't be run directly.
I recently came across ansible-bender, so I think we could maybe point local testing there (it takes an Ansible config and applies it to a container instead of your configured hosts.)
Should web hooks run on a separate domain?
When initially spinning up the droplet, I put it on do.matplotlib.org
so we could test load a bit. I also configured all web hooks using that domain.
Now that matplotlib.org
is pointing to the droplets, I modified Caddy to serve the same thing from both domains so that nothing breaks. However, that's a bit redundant, and we don't really need CF to be CDN'ing things twice (though I don't expect anyone to be accessing the duplicated subdomain.)
We can update the web hooks to point to matplotlib.org
easily, but I wonder if we should leave them on a separate domain still? They'd still be served by the same server, but that would silo off the paths just in case we needed them (though that's unlikely).
redirect blog to scientific python blog
Should we add redirects to the server for the existing blog?
Originally posted by @QuLogic in matplotlib/mpl-brochure-site#62 (comment)
Bug: There is some problem with light/dark theme
https://matplotlib.org/devdocs/
On this domain page, if I switch between light and dark themes, in some of the sections only the font colour changes without any change in the background, which makes it impossible to read.
Web browser: Brave
Default browser theme: Dark
Server naming scheme
We don't have many servers (nominally 1 if load allows it), but if we need to provision a bigger one, and destroy the old, it'd be good to have a reasonable naming scheme. I've found this blog post which seems reasonable. It is for a far higher count of servers than we need, so we can skip a few items, but I think something like the following:
- Servers are named
<prefix>.matplotlib.org
in A records. - Servers get a functional CNAME alias (e.g.,
web01.matplotlib.org
). Since we have few servers, I suggest ignoring the geographical and environmental prefixes given in the post. matplotlib.org
is a CNAME to the functional CNAME of a server.
There are several suggested word pools, but as it's fairly neutral, easy-to-remember, and not-too-difficult-to-spell, I'm going to suggest that we use Planets in our Solar System as <prefix>
.
Do we need metrics to be (semi-)public?
Metrics for monitoring are currently only available on the machine, so you need to SSH there and forward the port to view anything. We could make this (semi-)public by forwarding through Caddy (on a subdomain?). Grafana supports OAuth via GitHub, so we could then set up login via a team.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.