Comments (15)
I've forked the repo and will report back once I've come up with a way to set things up.
from first-analysis-steps.
Seeing as this will use Travis, we could also run make check
as βtestsβ. Gives a few warnings atm:
python tools/check.py .
ERROR: Missing file discussion.md.
ERROR: Missing file instructors.md.
ERROR: Missing file motivation.md.
ERROR: Missing file reference.md.
ERROR: In ./03-bookkeeping.md: Could not find the linked asset file data/MC_2012_27163003_Beam4000GeV2012MagDownNu2.5Pythia8_Sim08e_Digi13_Trig0x409f0045_Reco
14a_Stripping20NoPrescalingFlagged_ALLSTREAMS.DST in ./data/MC_2012_27163003_Beam4000GeV2012MagDownNu2.5Pythia8_Sim08e_Digi13_Trig0x409f0045_Reco14a_Stripping
20NoPrescalingFlagged_ALLSTREAMS.DST. If this is a URL, it must be prefixed with http(s):// or ftp://.
ERROR: In ./05-files-from-grid.md: Found callout box with unrecognized style 'prereq'
ERROR: In ./09-minimal-dv-job.md: Could not find the linked asset file data/MC_2012_27163003_Beam4000GeV2012MagDownNu2.5Pythia8_Sim08e_Digi13_Trig0x409f0045_R
eco14a_Stripping20NoPrescalingFlagged_ALLSTREAMS.DST in ./data/MC_2012_27163003_Beam4000GeV2012MagDownNu2.5Pythia8_Sim08e_Digi13_Trig0x409f0045_Reco14a_Stripp
ing20NoPrescalingFlagged_ALLSTREAMS.DST. If this is a URL, it must be prefixed with http(s):// or ftp://.
ERROR: In ./14-rerun-stripping.md: Could not find the linked asset file ./code/09-ntuple_options.py in ././code/09-ntuple_options.py. If this is a URL, it mus
t be prefixed with http(s):// or ftp://.
ERROR: In ./index.md: The linked page 03-bookkeeping.html exists, but the link text 'Find the dataset in the Bookkeeping' does not match the (sub)title of tha
t page, 'Finding data to process'.
ERROR: In ./index.md: The linked page 05-interactive-dst.html exists, but the link text 'Interactive look inside a DST with python' does not match the (sub)ti
tle of that page, 'Interactively exploring a DST'.
ERROR: In ./index.md: The linked page 14-rerun-stripping.html exists, but the link text 'Switch to a new stripping (20 -> 21) for one line in MC' does not mat
ch the (sub)title of that page, 'Running a specific stripping version on a DST'.
ERROR: In ./index.md: The document links to motivation.html, but could not find the expected markdown file ./motivation.md
ERROR: In ./index.md: The document links to reference.html, but could not find the expected markdown file ./reference.md
ERROR: In ./index.md: The document links to discussion.html, but could not find the expected markdown file ./discussion.md
ERROR: In ./index.md: The document links to instructors.html, but could not find the expected markdown file ./instructors.md
WARNING: Some errors were encountered during validation. See log for details.
make: *** [check] Error 1
from first-analysis-steps.
Yes, excellent. Tests should be used.
from first-analysis-steps.
Woa, that's cool
from first-analysis-steps.
π on auto builds. Maybe we should quiz the @swcarpentry lesson-template
maintainers why they didn't switch to using travis (or if we can contribute that back if it works nicely)
from first-analysis-steps.
I'm close to getting it working, the main problem is that the pandoc version on travis is too old and doesn't support the --filter
option.
from first-analysis-steps.
Okay, it's working at https://github.com/ibab/lhcb-first-analysis-steps.
The travis builds can be inspected here: https://travis-ci.org/ibab/lhcb-first-analysis-steps/builds/63633990.
The finished page is visible at http://ibab.github.io/lhcb-first-analysis-steps/.
You can test it by committing to the master branch (Only master
is compiled for now).
If everyone is okay with using this, we can think about adding it to the actual repo (maybe when we switch to the lhcb org?).
from first-analysis-steps.
Igor, you're awesome! Will test it immediately.
from first-analysis-steps.
Sorry, hit the wrong button :D
from first-analysis-steps.
Works. As soon as we have the repo over at the org, we can integrate it.
from first-analysis-steps.
So what changes in our workflow?
- we merge things into
master
instead ofgh-pages
- ...??
- profit!
from first-analysis-steps.
So what changes in our workflow?
- we merge things into master instead of gh-pages
- Travis picks up the changes, builds the site, pushes the result to gh-pages (GitHub picks up the changes and displays them on the website), and runs the tests
- profit!
from first-analysis-steps.
Note that make preview
now places stuff in _site
instead of the main directory.
We will have to set master
as our default branch.
The rest should stay the same.
from first-analysis-steps.
Merci, Igor!
from first-analysis-steps.
π» π π°
from first-analysis-steps.
Related Issues (20)
- Explain how to generate the web pages HOT 5
- Move ganga lb-dev lesson HOT 7
- Should we switch to LoKi functors for DecayTreeFitter?
- Use GaudiExec in all Ganga lessons HOT 11
- Lesson "More on Ganga" doesn't exist anymore HOT 3
- Add Turbo stream in callout box of lesson 11 HOT 1
- Migrate all possible SVN URLs to GitLab HOT 1
- Updates and issues in 2. Install Party
- Test issue
- Mention MassStorage in "EOS-Storage" Chapter
- There is an online tool for finding the EventType of your decay HOT 3
- Tag the commit used for the November 2016 session
- Typo on the 'Contribute to this lesson' page
- python http module only available in Python 3
- Clarify DST explorer lesson
- Improve LoKi Functors lesson
- Running DaVinci on the grid: PythonOptsCmakeParserError HOT 3
- Setting up project fails HOT 3
- Why edit .gangarc for MassStorageFile? HOT 4
- Use CERN-FNAL school slides on "from collisions to analysis"? HOT 2
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.
from first-analysis-steps.