Giter Club home page Giter Club logo

devopsdays-web's Introduction

devopsdays-cli

travis Status Build status Go Report Card GoDoc GitHub release MIT License ZenHub
Coveralls BCH compliance Ebert codebeat badge CodeFactor

Command-line utilities for the devopsdays website built with ❤️ by mattstratton in Go.

devopsdays gopherdevopsdays yak

This project adheres to the Contributor Covenant code of conduct. By participating, you are expected to uphold this code. We appreciate your contribution. Please refer to the contributing guidelines for details on how to help.

TOC

Demo

asciicast

Install

Check the release page!

Bintray

choco source add -n=devopsdays -s="https://api.bintray.com/nuget/devopsdays/choco"
choco install devopsdays-cli

homebrew

brew install devopsdays/tap/devopsdays-cli

via Go

go get github.com/devopsdays/devopsdays-cli

Usage

$ devopsdays-cli --help

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|d|e|v|o|p|s|d|a|y|s|-|c|l|i|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+


Command-line utilities for the devopsdays.org website
built with love by mattstratton in Go.

Complete documentation is available at https://github.com/devopsdays/devopsdays-cli

Usage:
  devopsdays-cli [flags]
  devopsdays-cli [command]

Available Commands:
  add         Add items to talks, programs, or events
  create      Create a new event, organizer, program, speaker, sponsor, or talk
  edit        Edit an existing item
  help        Help about any command
  remove      Remove items from an event, a talk, or a program
  show        Show details about various items

Flags:
  -d, --debug   enable debug mode
  -h, --help    help for devopsdays-cli

Use "devopsdays-cli [command] --help" for more information about a command.

$ devopsdays-cli create speaker --help

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|d|e|v|o|p|s|d|a|y|s|-|c|l|i|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Creates a new speaker for an event.

Usage:
  devopsdays-cli create speaker [flags]

Examples:
  devopsdays-cli create speaker
  devopsdays-cli create speaker --city new-york
  devopsdays-cli create speaker -c "New York" --year "2017"

Flags:
  -c, --city string   city to use
  -h, --help          help for speaker
  -y, --year string   year to use

Global Flags:
  -d, --debug   enable debug mode

$ devopsdays-cli create event --help

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|d|e|v|o|p|s|d|a|y|s|-|c|l|i|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Create a new event.

Usage:
  devopsdays-cli create event create [flags]

Examples:
  devopsdays-cli create event
  devopsdays-cli create event -c New York --year 2017

Flags:
  -c, --city string   city to use
  -h, --help          help for event
  -y, --year string   year to use

Global Flags:
  -d, --debug   enable debug mode

$ devopsdays-cli create sponsor --help

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|d|e|v|o|p|s|d|a|y|s|-|c|l|i|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Create a new sponsor file add the sponsor's image.
The name argument must not contain any spaces.

Usage:
  devopsdays-cli create sponsor [name] [flags]

Examples:
  devopsdays-cli create sponsor
  devopsdays-cli create sponsor bluth-company

Flags:
  -h, --help   help for sponsor

Global Flags:
  -d, --debug   enable debug mode

$ devopsdays-cli show speaker --help

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|d|e|v|o|p|s|d|a|y|s|-|c|l|i|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Show a speaker from an event.

Usage:
  devopsdays-cli show speaker [flags]

Examples:
  devopsdays-cli show speaker george-bluth
  devopsdays-cli show speaker --city new-york --year 2017 --all
  devopsdays-cli show speaker george-bluth -c "New York" --year "2017"

Flags:
  -a, --all           show all
  -c, --city string   city to use
  -h, --help          help for speaker
  -y, --year string   year to use

Global Flags:
  -d, --debug   enable debug mode

$ devopsdays-cli show talk --help

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|d|e|v|o|p|s|d|a|y|s|-|c|l|i|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

Show a speaker from an event.

Usage:
  devopsdays-cli show talk [flags]

Examples:
  devopsdays-cli show talk
  devopsdays-cli show talk --city new-york --year 2017 --all
  devopsdays-cli show talk -c "New York" --year "2017"

Flags:
  -a, --all           show all NOT IMPLEMENTED
  -c, --city string   city to use
  -h, --help          help for talk
  -y, --year string   year to use

Global Flags:
  -d, --debug   enable debug mode

Reference

Matrix of commands

config event organizer program speaker sponsor talk version
add x x x
create x x x x x x
edit x x x x x x
remove x x x x
show x x x x x x x x

Contributing

See CONTRIBUTING.md for details on how to contribute to this project.

History

CHANGELOG

How to release

$ gump <patch|minor|major>

Tools needed for release

License

devopsdays-cli - Command-line utilities for the devopsdays.org website

Author: Matt Stratton ([email protected])
Copyright: Copyright 2017, Matt Stratton
License: The MIT License
The MIT License (MIT)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

devopsdays-web's People

Contributors

aameen79 avatar adrianmoisey avatar bridgetkromhout avatar don-code avatar eduardopiairo avatar floord avatar gb8may avatar geoffcraig avatar ghoneycutt avatar gilzellner avatar glasnt avatar irabinovitch avatar jyee avatar kjenkins19 avatar kmugrage avatar krisbuytaert avatar margaretvaltie avatar mattstratton avatar mikerostx avatar nathenharvey avatar paulustm avatar peterjshan avatar phrawzty avatar romanoroth avatar scottsbaldwin avatar sebagomez avatar skryukova avatar steinim avatar whatschrisdoing avatar yvovandoorn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

devopsdays-web's Issues

Organizing instructions page could be more modular

On the legacy site, this is made of up many submodules which probably makes for an easier documentation update. In the initial release, we will just have one content page for the whole organizing guide, and attack breaking it up into submodules later.

Create structure for blog

The things needed to do this are:

  • Create archetype for a blog post
  • Create template for blog post list style
  • Create template for blog post single style

add an enhancement to show "become the FIRST x sponsor"

Currently, the code will display nothing for a sponsor type if there are no sponsors of that type. On many existing sites, if there is a "Gold" level, for example, with no gold sponsors, a link will be displayed that says "become the first Gold sponsor"

I think this can be handled by slightly changing the formatting of the sponsor data in the event data file, but it might require a little more cleverness in the parsing on the event template to determine which things to show.

Create setup script for new events

This is a low priority, but once we have the format down, we should create a pair of shell (and Powershell) scripts that can be used to generate a new event, taking in just the year and city name, etc.

In psuedocode, something like this (taking $YEAR and $CITY as arguments or something)

hugo new events/$YEAR-$CITY/welcome.md --kind event
hugo new events/$YEAR-$CITY/program.md --kind event
hugo new events/$YEAR-$CITY/contact.md --kind event
hugo new events/$YEAR-$CITY/conduct.md --kind event
.
.
.
cp data/events/TEMPLATE.yml data/events/$YEAR-$CITY.yml

evaluate Hugo as replacement for Webby

http://gohugo.io/

Seems to tick a number of boxes (though I've never used it myself):

  • Modern; actively maintained.
  • Static binary (instead of Ruby dependency / version hell).
  • Some sort of template mechanism.
  • Supports Markdown out of the box.

What's more, @mattstratton has operational experience with it, so that'd certainly be helpful.

That said, if there's something that's better, I'm not married to Hugo - worth looking at though!

Add "staging" area where PRs and non-master branches can be viewed live

This will help previewing changes without the need for running Hugo. WYSIWYG style.

The general idea is:

  • master branch would be build and copied into the main location - http://devopsdays.github.io
  • any non master branch or PR should be build and copied into staging area -http://devopsdays.github.io/<branch/PR_name>

So it would be possible to review the changes not only by the content, but by how it actually looks live in your web browser.

Update to hugo 0.15

  • Test site build on hugo 0.15
  • Ensure that our wercker workflow is using hugo 0.15
  • Update README to specify that you need hugo 0.15

Events need to support having no dates

Per Bridget, an event can be on the site without dates. We will need to account for handing events with blank dates as being "future" events as well.

Migrate events from 2015 and before

Migrate data from all past events (2015 and before) to new system.

Here is an attempt of a list of all the events needed to migrate, so we can track.

  • 2009
    • Ghent 2009
  • 2010
    • Sydney 2010
    • Mountain View 2010
    • Hamburg 2010
    • Sao Paulo 2010
  • 2011
    • Boston 2011
    • Mountain View 2011
    • Melbourne 2011
    • Bangalore 2011
    • Göteborg 2011
    • Manila 2011
  • 2012
    • Austin 2012
    • Tokyo 2012
    • Delhi 2012
    • Mountain View 2012
    • Rome 2012
    • New York 2012
  • 2013
    • New Zealand 2013
    • London 2013
    • Paris 2013
    • Austin 2013
    • Berlin 2013
    • Amsterdam 2013
    • Silicon Valley 2013
    • Downunder 2013
    • Bangalore 2013
    • London Autumn 2013
    • Barcelona 2013
    • Vancouver 2013
    • Portland 2013
    • New York 2013
    • Atlanta 2013
    • Tel Aviv 2013
    • Tokyo 2013
  • 2014
    • Nairobi 2014
    • Ljubljana 2014
    • Austin 2014
    • Pittsburgh 2014
    • Amsterdam 2014
    • Silicon Valley 2014
    • Minneapolis 2014
    • Brisbane 2014
    • Boston 2014
    • Toronto 2014
    • New York 2014
    • Warsaw 2014
    • Chicago 2014
    • Berlin 2014
    • Belgium 2014
    • Helsinki 2014
    • Vancouver 2014
    • Tel Aviv 2014
    • Bangalore 2014
  • 2015
    • Ljubljana 2015
    • Paris 2015
    • Denver 2015
    • New York 2015
    • Austin 2015
    • Toronto 2015
    • Washington, DC 2015
    • Amsterdam 2015
    • Minneapolis 2015
    • Melbourne 2015
    • Pittsburgh 2015
    • Chicago 2015
    • Bangalore 2015
    • Boston 2015
    • Tel Aviv 2015
    • Singapore 2015
    • Berlin 2015
    • Charlotte 2015
    • Silicon Valley 2015
    • Detroit 2015
    • Ohio 2015
    • Warsaw 2015

Discuss data-driven sponsor info

It might be useful to be able to abstract out sponsors for use by multiple events, for example having a data/sponsors directory with a chef.yml, etc, for anyone who wanted to have Chef as a sponsor (that data file could contain the URL to link to, and the image path, although it would be more ideal just to name them in conjunction with each other).

Downside is if logos change from year to year, but you can still repurpose the instance of that sponsor.

Create data file format for event

File should live in data/events and be named YEAR-CITY.yml

Should contain various items such as sponsors, twitter, etc, that will drive lower level pages

Add dates to event data file format

This one can be slightly tricky as we want them in a date format so we can know when they are over; perhaps two fields - start date and end date. That supports events that are not just two days long.

Create "about" page

This page exists on the legacy site, but not linked to in main nav. Should add it to main nav as well.

Update social settings

Currently contains information about Arrested DevOps facebook page (devopsdays is a group, not a page, but it might work better to create a FB page for this...investigate)

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.