events.eclipse.org website

Clone this repo:

Branches

  1. f757521 Bug 3388 - Add redirect from VOLTTRON 2018 event website to 2019 event website by Christopher Guindon · 3 days ago master
  2. cd7e54d Bug 550281 - Please add all these items to events.eclipse.org by Martin Lowe · 3 days ago
  3. 918e4ee Infra 3327 - ASAM international conference: Organize participation... by Martin Lowe · 3 weeks ago
  4. b8210bf Infra 3327 - ASAM international conference: Organize participation... by Martin Lowe · 3 weeks ago
  5. 317ad10 Infra 3347 - Add this event to events page by Martin Lowe · 4 weeks ago

Eclipse Events Page

The code implements the Eclipse Foundation events

Author: Angelika Wittek, Konteno
inspired by work from Christoper Guindon, Eclipse Foundation

Published under the EPL

Requirements: Ralph Mueller, Eclipse Foundation; Roxanne Joncas, Eclipse Foundation

Prereqs:

  • eclipse.org-commons
  • Eclipse page boilerplate

Uses external libraries:

  • leafletjs
  • jQuery

How-to

Download content to your local machine

$ git clone https://(yourname)@git.eclipse.org/r/websites/events.eclipse.org

Using git on your local machine

make your changes and commit

$ vi data/EclipseEvents.json // vi or use any other editor
$ git add .
$ git commit -m "commit comments"

Rebuild content locally for testing

This project uses Grunt to compile and run build tasks on a watch task. In order to test scripts and the like locally you will need to do the following:

  • Run npm install in the project root to retrieve the required frameworks to run a local build.
  • Run npm run-script bower install in the project root to install JS and less dependencies.
  • Run npm run-script grunt to start Grunt watching the folder
  • Make your local changes to the JS/less files to trigger grunt to build
  • Open index.html from the root of the project. Some minor tweaks may need to be done to run this file locally without a web server (such as adding https: to the front of the main.min.js script source attribute at the bottom of the page). These changes should stay local and not be pushed up with your script changes.

Push changes to Eclipse Foundation git/Gerrit

You will be asked for a password, you can retrieve it with https://git.eclipse.org/r/#/settings/http-password. Please use your Bugzilla login credentials and copy the password. Replace (yourname) with your git / Gerrit user name.

$ git push https://(yourname)@git.eclipse.org/r/websites/events.eclipse.org HEAD:refs/for/master

Once you have pushed your changes to Gerrit, they will get reviewed and eventually pushed to the site.

Review changes that others made

Open https://git.eclipse.org/r/#/q/project:websites/events.eclipse.org,n,z in your web-browser.

Review changes (this is a more complex task that needs to be discussed)

Copy and edit template for new event entries in the JSON File

file location: data/EclipseEvents.json

Copy text below and insert into JSON file If you insert the last entry in the file, ommit the trailing comma

Replace the second part of each pair with the appropriate information,

Look up the geo data (longitude and latitude) based on the address. You can use for example this geocoder

To help us, please use the “MMM DD, YYYY” format for the “date” fields. Example: “Nov 3, 2013” will work just fine!
We hope to find a more general solution in the future.We are not using the time for anything (yet), so feel free to add the time in any format that is appropriate.

{
    "type":"xx",
    "title":"title",
    "date":"date",
    "time":"time",
    "locationName":"location",
    "registration":"reglink",
    "infoLink":"infolink",
    "description":"description",
    "address":{
        "street":"street",
        "zip":"zip",
        "city":"citiy",
        "country": "country",
        "geoLoc":{
            "lat":"00",
            "lon":"00"
        }
    }
},

xx can be any of the following:

  • dc - Demo Camp & Stammtisch
  • wg - Working Group Events
  • ec - EclipseCon
  • ed - Eclipse Day & Hackathons
  • et - Training Series
  • ee - Other interesting Events

Additional events can be added, please let us know if you miss a type

URL Parameter

Therer are two:

  • eventtype
  • year For example: events.eclipse.org/?eventtype=ed&year=2015 shows only the events of type ed (Training) in the year 2015

How you can help

  • please report problems that you encounter, as well as improvement proposals via Eclipse Bugzilla
  • add your event information by sending an email to events@eclipse.org