Giter Site home page Giter Site logo

status's Introduction

status.packit.dev

status.packit.dev website content

Clone

This repository uses git submodules, so you have to git clone --recurse-submodules it. If you forget and realize later, just run:

$ git submodule init themes/cstate
$ git submodule update

Fedora

$ dnf install hugo
$ hugo help

CentOS/Epel

$ dnf copr enable daftaupe/hugo
$ dnf install hugo

MacOS

$ brew install hugo

Add new content

TL;DR

To create and edit a new issue, run make issue TITLE="Something is broken", and follow the instructions to edit it.

In more detail

Create a new file in content/issues directory. The name of the file will be the slug (what shows up in the URL bar).

$ hugo new issues/date-summary.md

Individual keys in the file are explained in cstate docs.

To see current date & time in a format ready to be put into the file run date --utc --rfc-3339=seconds.

  • New, not yet resolved issue or announcement about future maintenance
    • set resolved: false
    • leave resolvedWhen: unset
    • set date:
      • to the date/time when you first discovered the issue, or
      • to the date/time of expected maintenance in case of announcement about future maintenance
  • Already resolved issue
    • set resolved: true
    • set resolvedWhen: <date>

In affected: you can specify a list of affected systems/components.

Start Hugo server

Run hugo server and go to Web Server

Site Configuration

config.yml used to customize the site is described in cstate wiki.

Howto update the cState theme submodule

git submodule foreach git pull origin master

Rebuild content & Github Pages

It's done automatically with each push to main. We use Hugo Deploy GitHub Pages Action configured in .github/workflows/deploy-pages.yml which pushes the generated content into packit/status.packit.dev-github-pages from where the Github Pages are served. The secret used by the action is stored in settings/secrets.

status's People

Contributors

jpopelka avatar lachmanfrantisek avatar lbarcziova avatar majamassarini avatar tomastomecek avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.