Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1755 commits
Select commit Hold shift + click to select a range
949d94f
(O2-1813)[GPU] Rename double overloads for math functions (#4871)
MichaelLettrich Dec 3, 2020
60b41a1
TPCClusterFinder: Add optional filter for noisy pads. (#4850)
fweig Dec 3, 2020
b29e0e9
Include cpulimit tool
sawenzel Dec 1, 2020
35967c5
Fix compiler warning on MacOS
sawenzel Dec 2, 2020
4d6fb61
Improvements to taskwrapper
sawenzel Dec 1, 2020
8dc46a7
Allow some executables to not follow the convention.
aphecetche Dec 2, 2020
3d7b52c
Move ConfigurableMacroHelper plugin service helper in CommonUtils
preghenella Nov 26, 2020
7a436e0
Initial concept of selective tracking with configurable param settings
preghenella Nov 25, 2020
36ee9aa
[MCH] Move geometry into its own package.
aphecetche Nov 27, 2020
61e9307
clang-format
aphecetche Nov 30, 2020
d9f3e47
Add missing copyright
aphecetche Dec 2, 2020
2075974
fix for TOF calib info and TOF workflow
noferini Nov 26, 2020
71d5297
add TOF Cluster writer for commissioning
noferini Nov 26, 2020
a920f45
Generators: Remove unused/deprecated code
sawenzel Dec 2, 2020
aef366a
Mark method final since it implements a framework for deriving classes
sawenzel Dec 2, 2020
cae6438
Improve event generation starting from O2 kinematics
sawenzel Dec 2, 2020
eb66dd3
trd trapsimulator code refactor and unit fix
bazinski Sep 23, 2020
2ca744c
Fix array out of bounds segfault after unexpected end of payload
davidrohr Dec 3, 2020
57c0ec5
Add Dplus analysis variables and update Dplus task histograms (#4797)
fcatalan92 Dec 3, 2020
96b8af6
Do throw by default when running out of shared memory in full system …
davidrohr Dec 3, 2020
4139fb1
Distinguish between sync and async processing in the mid reco workfll…
davidrohr Dec 3, 2020
7c39df8
Remove disabling of monitoring message until O2-1887 is fixed
davidrohr Dec 3, 2020
5f57c48
Add EEMCAL and PHOS to the full system test
davidrohr Dec 3, 2020
a1d6062
Don't fail when running the first stage multiple times due to ctf_dic…
davidrohr Dec 3, 2020
b109c1c
Reduce default memory sizes and disable GPU test by default
davidrohr Dec 3, 2020
8c168fe
Centrality work towards vertex-Z profiles for CCDB (#4983)
ddobrigk Dec 3, 2020
c2e665d
Update cpulimit.c
sawenzel Dec 3, 2020
6e54e78
Completely remove the MID reco for synchronous processing
davidrohr Dec 3, 2020
55a67d2
Adding classes to calculate the space charge distortions and correcti…
matthias-kleiner Dec 3, 2020
b348238
[EMCAL-630] Decrease verbosity of RCU trailer using log framework
mfasDa Dec 3, 2020
6c91a4e
Fixes for 8 GPU full system test configuration
davidrohr Dec 3, 2020
34c8278
reworking include directories (#4989)
jgrosseo Dec 4, 2020
7e7fea8
Add gpu reconstruction processing time metric to alibi benchmark
davidrohr Dec 4, 2020
80a3d27
DPL Analysis: helper to transfer index bindings (#4990)
aalkin Dec 4, 2020
91b5537
DPL Analysis: nested vector for struct configurable (#4897)
aalkin Dec 4, 2020
cc900d7
DPL: send config as a JSON when possible (#4920)
aalkin Dec 4, 2020
ad10690
GPU: Fix codechecker violations
davidrohr Dec 4, 2020
032b405
DPL: allow configuring FairMQ channels used by DPL (#4995)
ktf Dec 4, 2020
b1911e8
Add option to suppress FMQ rate logging in full system test
davidrohr Dec 4, 2020
41747c1
Add documentation for full system test scripts
davidrohr Dec 4, 2020
cbce528
Updates in Doxygen: (#5005)
ihrivnac Dec 4, 2020
648018b
Fix in accounting cached V0
shahor02 Dec 4, 2020
2b885a2
Check CTFdict existence before trying to load
shahor02 Dec 4, 2020
b763b94
Add option to ctf writer to store both dictionary and ctf or none
davidrohr Dec 4, 2020
28c85c0
Fix another EMCAL out of bounds error
davidrohr Dec 4, 2020
378e6bf
DPL: drop "using namespace" at top-level (#5006)
ktf Dec 4, 2020
b0ba16b
Bugfix: disable emcal workflow's root output (enabled by default) in …
davidrohr Dec 4, 2020
c1f05c0
Add option to store CTF after full system test
davidrohr Dec 4, 2020
51d8f0e
Add option to read input from CTF and run asynchronous reconstruction…
davidrohr Dec 4, 2020
0931587
Run also the asynchronous reconstruction in the alibi full system test
davidrohr Dec 4, 2020
f2719b5
DPL Analysis: add handlers for nested arrays in struct configurables …
aalkin Dec 5, 2020
2be0482
DPL Analysis: table slicing helper (#4999)
aalkin Dec 5, 2020
eca708b
decrease verbosity of EMCAL RawReaderMemory
shahor02 Dec 5, 2020
a425eea
Multiple fixes for ZDC, raw data creation (former PR4658 from P.Cortese)
cortesep Sep 10, 2020
7592bdd
Bugfixes, use _as for filters (necessary) (#5009)
ddobrigk Dec 6, 2020
1bb0a22
Small update for the converter (#5002)
nburmaso Dec 6, 2020
4e48261
Copying of index bindings (#5000)
jgrosseo Dec 6, 2020
7ff4d65
Update for Run3 subtask (#5016)
nburmaso Dec 6, 2020
feb6a0e
TrackSelection: revert to uint8_t columns (#5015)
mario-krueger Dec 6, 2020
287517c
DPL GUI: do coarse culling of device graph
ktf Dec 6, 2020
ea311b3
DPL: speedup metricIdxByName
ktf Dec 6, 2020
a23e53a
sim_challenge: include new AOD producer workflow
sawenzel Dec 7, 2020
80bfe14
Fix: Proper treatment of --disable-mc in PHOS CellConverterSpec
shahor02 Dec 5, 2020
a42d101
use gSystem->Load w/o explicit shlib extension
shahor02 Dec 3, 2020
6e1039c
MFT: introduce configuration of the tracker
bovulpes Dec 1, 2020
fde6b3b
MFT: further optimizations in the tracker
bovulpes Dec 2, 2020
d73308a
Update sim_challenge.sh
sawenzel Dec 7, 2020
cba1c82
Remove Pythia8 system and shift all indices by -1
preghenella Dec 3, 2020
7acefbb
Propagate first and second daughters to the Stack
preghenella Dec 3, 2020
c7404dc
Allow access all primary particles for selective transport
preghenella Dec 3, 2020
8aeb68e
bugfix in ND splines
sgorbuno Dec 2, 2020
3880176
DPL: attempt at supporting cloned processors
ktf Dec 7, 2020
36fb134
Deltaphi cuts above pi do not make sense
mpuccio Dec 7, 2020
26bc350
[MCH] added error handler in raw decoder
aferrero2707 Nov 30, 2020
4db2150
[MCH] Fixed clang errors
aferrero2707 Dec 2, 2020
753b9a2
[MCH] triggered CI builds
aferrero2707 Dec 6, 2020
b82cdda
[MCH] fixed clang format error
aferrero2707 Dec 6, 2020
dca327a
DPL GUI: add buttons to debug / profile the driver
ktf Dec 8, 2020
ee680a7
Explicit copy c-tors for DCS data classes
shahor02 Dec 6, 2020
1584aff
Remove workaround in DCStoDPLconverter
shahor02 Dec 6, 2020
d2b0c3d
Fix for MCTruth label checks
nburmaso Dec 8, 2020
c71d440
DPL: better error message when DPL_ENABLE_STACKTRACE not set
ktf Dec 8, 2020
8fbf7d0
Getting prepared for boolean columns (#5025)
victor-gonzalez Dec 8, 2020
4558beb
GPU: Tune some kernel parameters for AMD Vega
davidrohr Dec 7, 2020
8e24cc8
DPL: syntactic sugar for --clone <template>:<instance number>
ktf Dec 8, 2020
acd9e5d
DPL: allow adding suffix to all dataprocessors in a workflow
ktf Dec 9, 2020
79e18c1
NFC: Fix codechecker for the ITS GPU code
mpuccio Dec 7, 2020
53cd0b4
Moving StepTHn to Framework (#5034)
jgrosseo Dec 10, 2020
be0e415
TRD Tracklet Transformer Workflow (#4790)
jbarrella Dec 10, 2020
5a763d1
Decouple VMC libs from o2-sim
sawenzel Dec 10, 2020
dff136e
Support for FLUKA VMC backend in O2
amorsch Nov 28, 2020
7c5cb17
[ALICE3] Rename PostLS4 and IT4 to ALICE3 and TRK (#5045)
mconcas Dec 11, 2020
a4a4972
Change to new TPCrefit check: finders (#5042)
ddobrigk Dec 11, 2020
2f5d1a2
Squashed commit of the following: (#5039)
iarsene Dec 11, 2020
e6eb662
DPL: allow customization of FairMQ channels from command line (#5048)
ktf Dec 11, 2020
3390cb7
Drop obsolete badge from README (#5051)
ktf Dec 11, 2020
b983216
Use value_t instead of double
davidrohr Dec 9, 2020
d0dde24
Add DAQ SystemID Unloaded
shahor02 Dec 10, 2020
c828821
Add braces in oneliners of PHOS code
shahor02 Dec 11, 2020
9d8c8c7
[ITS] Remove unused classes
mconcas Dec 9, 2020
a067465
Add fix and chi2 selection
mconcas Dec 7, 2020
a487c74
Make load of the LUT optional
mconcas Dec 7, 2020
c7c204a
GPU: Fix macro name
davidrohr Dec 9, 2020
8423268
GPU: Was missing the GPU annotations for the GPU versions of Cartesia…
davidrohr Dec 9, 2020
375eaed
Make rotateZ / sincos / sector2angle compatible to GPU
davidrohr Dec 9, 2020
296c38c
GPU: Add a dummy stream logger implementation for GPU in order not to…
davidrohr Dec 9, 2020
5d5455e
GPU: Add gpu::gpustd::array to forward std::array on host / mimic as …
davidrohr Dec 9, 2020
9e1f340
Hide all stuff that uses ROOT from GPU compilation
davidrohr Dec 9, 2020
1476dca
Move PID constants from static class member to a namespace, since sta…
davidrohr Dec 9, 2020
ae8838e
GPU: Make TrackPar / TrackParCov compile for GPU
davidrohr Dec 9, 2020
73c10d5
GPU: Workaround for reoccuring HIP problem parsing host-code during d…
davidrohr Dec 11, 2020
7090f3e
Change more Double_t to float in TrackParCov propagator
davidrohr Dec 11, 2020
45ce779
ndsplines: added approximateFunctionBatch function
matthias-kleiner Dec 11, 2020
8c6dda0
Eliminate mass argument from track mat.corrections and propagation in…
shahor02 Dec 13, 2020
6fc0585
Reject outliers when building ITS/MFT clusters dictionary
shahor02 Dec 13, 2020
e558770
TPC drift gas settings in case FLUKA is used (#5059)
amorsch Dec 14, 2020
49406d6
DPL Analysis: use compile-time hashed histogram names in registry (#5…
mario-krueger Dec 14, 2020
6c56b0a
Adding truncation + some minor changes (#5040)
nburmaso Dec 14, 2020
6f421d5
Drop untested / unused hough transform code (#5037)
ktf Dec 14, 2020
97d1b2c
DPL Analysis: fix for parsing non-integer arrays in configurables (#5…
aalkin Dec 14, 2020
3f0ac03
Fix finder -> problems with partitioning to be checked (#5060)
ddobrigk Dec 14, 2020
a829d8e
Add function to dumpGBT data per link
wiechula Nov 10, 2020
fa2dc2e
fix meta data entry
wiechula Nov 10, 2020
4ee1271
Add median per stack, alias for edge pad
wiechula Nov 10, 2020
b160fdd
rework pedestal calibration
wiechula Nov 10, 2020
f455e37
Code splitting and cleanup
wiechula Nov 12, 2020
f810f1a
rework RawToDigitsSpec
wiechula Nov 15, 2020
9b53c32
Add possibility to dump sync positions to file
wiechula Nov 15, 2020
bafe874
Add switch to skip incomplete events, by default process all
wiechula Dec 14, 2020
46995d6
DPL: push metric with name of the file read
ktf Dec 14, 2020
00d2046
DPL: refactor internal details of ResourcesMonitoringHelper
ktf Dec 14, 2020
2d711f4
DPL Analysis: add string array Configurable (#5063)
aalkin Dec 14, 2020
84edc8c
Using histogram registry fill (#5064)
jgrosseo Dec 14, 2020
91bc67a
Analysis: extend histogram registry example (#5066)
mario-krueger Dec 15, 2020
90f87c4
Increase the margin of CTF block size to 10KB
shahor02 Dec 15, 2020
8b00c13
DPL Analysis: make sure each name hash in histogram registry is uniqu…
mario-krueger Dec 15, 2020
f04c23d
DPL: initial support for plugin based algorithms (#5071)
ktf Dec 16, 2020
6f841a6
DPL: move ROOT file reading completely to the plugin
ktf Dec 16, 2020
6100534
DPL: add (optional) direct dependency on JAliEn to AnalysisSupport
ktf Dec 16, 2020
953e0de
Do not compile OpenGL examples on macOS
ktf Dec 15, 2020
8e85101
Update of water and air cooling
Dec 13, 2020
0fe332f
TOF DCS Processor
chiarazampolli Dec 10, 2020
cdb8943
Tmp.fix in TrackParCov c-tor from Cartesian cov.matrix
shahor02 Dec 17, 2020
c2f6fbe
Parent TrackPar/Cov creator for DCAFitterN
shahor02 Dec 17, 2020
e2112a5
Fix FindJAliEnROOT.cmake name
ktf Dec 17, 2020
c917590
Add --configKeyValue for MB LUT
mconcas Dec 17, 2020
04738cb
DPL: Use JAliEn:JAliEn rather than XRootD::Client to enable support
ktf Dec 18, 2020
7431594
MFT: fix lanes mapping for decoding commissionning data and for worki…
bovulpes Dec 18, 2020
bbb9823
Add X at minimum to v0data table (#5084)
ddobrigk Dec 19, 2020
1be7b8c
MFT: eliminate sqrt where possible
bovulpes Dec 15, 2020
ea5fd7c
real LUT in CCDB (#5089)
AllaMaevskaya Dec 22, 2020
9cb10c0
Executable for chunk large raw-data files
shahor02 Dec 18, 2020
fcffd99
ZDC Workflow to inspect raw data (#5092)
cortesep Dec 23, 2020
9d75196
GPU: Some work towards making the o2 propagator work on GPU
davidrohr Dec 23, 2020
1e6f07a
GPU: Exclude ITS Tracking / Vertexing parts from run time compilation
davidrohr Dec 23, 2020
7f9d9f8
GPU: Add option to o2 propagator to optionally use GPU PolynomialFiel…
davidrohr Dec 24, 2020
5040415
GPU: Fix the compilation of the o2 propagator on GPU
davidrohr Dec 24, 2020
74ef1a9
GPU: Enable the o2 propagator when compiling for GPU
davidrohr Dec 23, 2020
f28e5f0
TPC Tracking: Workaround for 0-cluster tracks
davidrohr Dec 25, 2020
4dd515e
DPL: use RawDeviceService to sleep in example
ktf Dec 27, 2020
00a24b0
GPU: Make more headers compatible to GPU
davidrohr Dec 27, 2020
a7d1de4
Add track dumping in standalone debugger
mconcas Dec 15, 2020
c1d6192
Add TrackDebugInfo into treestream
mconcas Dec 16, 2020
29db127
Add TrackingInfo to debug tree
mconcas Dec 17, 2020
f8a5ae4
Drop bad assert
ktf Dec 29, 2020
8e1a57b
[EMCAL-675] Handling of pages without trailer
mfasDa Dec 28, 2020
716307c
Fix in MCEventLabel::getIDOnly
shahor02 Dec 25, 2020
6b1dd66
Use DBSCAN for Time-Z clustering in PVertexing + debris reduction
shahor02 Dec 22, 2020
fbb78e8
Add workflow to generate CHANGELOG (#5106)
ktf Jan 4, 2021
3f85d65
Fix changelog generation (#5107)
ktf Jan 4, 2021
e1ff68c
Update reports.yml
ktf Jan 4, 2021
84a0e52
Fix CHANGELOG generation (#5108)
ktf Jan 4, 2021
47d1a6a
Update of the Lc->pKpi selector and task (#5013)
DelloStritto Jan 4, 2021
7b38fb1
Fix CHANGELOG generation (#5109)
ktf Jan 4, 2021
4108378
Update reports.yml
ktf Jan 4, 2021
b63c535
Update reports.yml
ktf Jan 4, 2021
e26cb7c
Updated CHANGELOG (#5110)
ktf Jan 4, 2021
b33f6ec
Disable CA_DEBUG in ITS Tracking
davidrohr Jan 4, 2021
809fcfa
DPL: drop unneeded include statements (#5113)
ktf Jan 4, 2021
24d3e04
DPL: move GUI to a plugin (#5099)
ktf Jan 4, 2021
9446c8d
GPU: Suppress some debug messages
davidrohr Jan 4, 2021
4c65d47
GPU: Store merged track ptrs in correct place in GPU constant memory
davidrohr Jan 4, 2021
585bc0f
Default mat.corr. is with LUT, fall-back to TGeo if LUT is not set
shahor02 Jan 4, 2021
7ed4626
Initial version of EMCAL Correction Task (#5074)
raymondEhlers Jan 5, 2021
43e8fdf
Convert collision time to ps (#5026)
njacazio Jan 5, 2021
6486cf7
GPU: Bugfix, shadow calibObject pointers were not initialized correctly
davidrohr Jan 4, 2021
8bb935c
GPU: Make the tpc refit runable on the GPU
davidrohr Dec 27, 2020
dfada64
GPU: Simplify application of gain correction
davidrohr Jan 4, 2021
02cf084
GPU: Enable matLut with GPU Track Model in Track Refit
davidrohr Jan 4, 2021
a80dfaf
GPU: Add option for the GPU backend to use nested OpenMP loops for be…
davidrohr Jan 4, 2021
af7005c
Allow forcing by hand last release tag (#5123)
ktf Jan 5, 2021
e9cfe1f
Updated README (#5119)
ktf Jan 5, 2021
1d46947
Use Dynamic columns for the expected PID signals (#5086)
njacazio Jan 5, 2021
943f549
A ROOT serializable key-value store
sawenzel Nov 30, 2020
52b2c76
DPL: do not compile GUISupport if AliceO2::DebugGUI is not found (#5124)
ktf Jan 5, 2021
7755696
Fix codechecker violations
davidrohr Jan 5, 2021
4d235b3
Pass input descriptor for TOF compressed analysis task from cmdl
preghenella Jan 4, 2021
10a62f7
Minor updates to compressed inspector task
preghenella Jan 4, 2021
3034b64
DPL: add helper to printout current state (#5126)
ktf Jan 6, 2021
c8953a1
Bugfix in digits->raw->cell chain (#5087)
peressounko Jan 6, 2021
d89052b
Fix nCand=0 case (#5125)
aimeric-landou Jan 6, 2021
86251f7
Match all subspecs unless one subspec is passed explicitely (#5121)
dstocco Jan 6, 2021
d821aa3
Allow external (public) use of generator routines
preghenella Jan 4, 2021
b2c6158
Added functions to compute Ncoll, Npart and Nremn in Pythia8
preghenella Jan 4, 2021
1e8ccbc
Fill PDG code database before event generation
mpuccio Dec 18, 2020
a915434
Correctly use object passed to MID decoder constructor (#5120)
dstocco Jan 6, 2021
c24f761
Subscribe PID tasks to collisions (#5127)
njacazio Jan 7, 2021
8dfa98d
Fix codechecker
mconcas Jan 6, 2021
00954d0
Fix Clang warnings
mconcas Jan 6, 2021
6bbd168
GPU: Disable some ROCm CMake warnings
davidrohr Jan 7, 2021
8c6aa7b
RootSerializableKeyValueStore: Add print function
sawenzel Jan 7, 2021
ba836b3
Do not invoke FIT-reader with --use-fit in raw data input mode
shahor02 Jan 8, 2021
b0d1108
trigger inputs
AllaMaevskaya Jan 6, 2021
1238ad7
[EMCAL-677] Propagate trigger bits from RDH to TriggerRecord
mfasDa Jan 8, 2021
536a218
Add and use explicit setters for TrackPar and TrackParCov
shahor02 Jan 8, 2021
636d82a
Method to fill standalone shared clusters map
shahor02 Jan 8, 2021
605cc34
Use GPUTPCO2InterfaceRefit for TPC-ITS matches refit
shahor02 Jan 8, 2021
9740317
GPU: Fix finding fmt in standalone benchmark build
davidrohr Jan 8, 2021
d8eae01
GPU: Should be hidden for all GPU device code not only OpenCL
davidrohr Jan 8, 2021
bbf5097
GPU: Fix alignment of GPUParamRTC
davidrohr Jan 8, 2021
2922ce1
GPU: Do not compile dEdx splines with OpenCL1
davidrohr Jan 8, 2021
b5dc383
GPU: Disable CMake warnings already earlier
davidrohr Jan 7, 2021
4037cd7
bugfix in SpaceCharge distortion class
matthias-kleiner Jan 6, 2021
1668597
Fix: increment EMCAL TriggerRecord class version
shahor02 Jan 10, 2021
9de7c30
Introduced 2d arrays in Variant (#5132)
aalkin Jan 11, 2021
ee1014a
GPU: Do not crash processing MC labels when events are only dumped bu…
davidrohr Jan 9, 2021
729880b
GPU: Fix computation of number of OMP threads to use
davidrohr Jan 9, 2021
ec380d9
Add strings and function to retrieve verbose error message
preghenella Jan 7, 2021
6715af5
Make use of the serialisable key-value store to store/retrieve arbitr…
preghenella Jan 7, 2021
fe228d8
Generator protocol to updateHeader and notifyEmbedding needs to use o…
preghenella Jan 7, 2021
a0da596
Populate event header with information of the current Pythia8 event
preghenella Jan 7, 2021
100a234
Add example to show how to add custom information to event header
preghenella Jan 7, 2021
47bb2dd
CPV raw writing and reconstruction (#5129)
peressounko Jan 11, 2021
5b2bb0d
embedding_pileup_check: don't assume 'view' label format
sawenzel Jan 11, 2021
9a6b849
Drop initial prototype of dataflow setup (#5032)
ktf Jan 12, 2021
5beaf6a
[FV0] Trigger inputs
mslupeck Jan 11, 2021
145b6f6
Small fixes
sawenzel Jan 12, 2021
a2e47b3
Revert "Populate event header with information of the current Pythia8…
sawenzel Jan 12, 2021
27a8e79
PWGDQ utility classes moved from AnalysisCore to Analysis/Tasks/PWGDQ…
iarsene Jan 12, 2021
a028516
Avoid 2D params in SVertexer configurable params
shahor02 Jan 12, 2021
3ebc445
Add CPV to full system test
davidrohr Jan 12, 2021
5c67096
Reenable MFT reco in full system test (async part) since it is no lon…
davidrohr Jan 12, 2021
c5796e2
Fix typo in setting ulimits of full system test
davidrohr Jan 12, 2021
69fabaf
o2-sim: Better signal propagation; small fix in jobutils
sawenzel Jan 12, 2021
b56fc6b
add alien SE (#5160)
jgrosseo Jan 12, 2021
03f01e2
O2HitMerger: Use non-owning MCEventHeader
sawenzel Jan 12, 2021
35ca9e4
Revert "Revert "Populate event header with information of the current…
sawenzel Jan 12, 2021
20e0039
start of Derived data for spectraTPC
nzardosh Jan 14, 2021
8de50bb
Update spectraTPCProvider.cxx
jgrosseo Jan 19, 2021
5d3fc84
Updated README
Jan 19, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
67 changes: 67 additions & 0 deletions .github/workflows/clean-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: Clean PR checks
on:
workflow_dispatch:
inputs:
pr:
description: PR to be cleaned
required: true
checks:
description: Checks to be cleaned
required: true
default: 'build/O2/o2,build/O2/gpu,build/AliceO2/O2/o2/macOS,build/o2checkcode/o2'
owner:
description: Organization
required: true
default: 'AliceO2Group'
repo:
description: Repository
required: true
default: 'AliceO2'

jobs:
cleanup_pr_checks:
runs-on: ubuntu-latest
steps:
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install ali-bot
run: |
sudo apt-get update -y
sudo apt-get install -y libsasl2-dev python-dev libldap2-dev libssl-dev
python -m pip install --upgrade pip
pip install git+https://github.com/alisw/ali-bot@master
- uses: octokit/graphql-action@v2.x
id: get_last_commit_for_pr
with:
query: |
{
repository(owner: "${{ github.event.inputs.owner }}", name: "${{ github.event.inputs.repo }}") {
url
pullRequest(number:${{ github.event.inputs.pr }}) {
commits(last: 1) {
nodes {
commit {
oid
}
}
}
}
}
}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Cleanup tests
run: |-
set -x
cat <<\EOF > results.json
${{ steps.get_last_commit_for_pr.outputs.data }}
EOF
COMMIT=$(jq -r '.repository.pullRequest.commits.nodes[].commit.oid' results.json)
echo $COMMIT
for check in `echo ${{ github.event.inputs.checks }} | tr , \\\\n`; do
set-github-status -c ${{ github.event.inputs.owner }}/${{ github.event.inputs.repo }}@$COMMIT -s $check/pending
done
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
98 changes: 98 additions & 0 deletions .github/workflows/code-formatting.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
name: Check PR with clang-format

on: [pull_request_target]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head.sha }}
persist-credentials: false
# We need the history of the dev branch all the way back to where the PR
# diverged. We're fetching everything here, as we don't know how many
# commits back that point is.
fetch-depth: 0
- name: Run clang format
id: clang_format
env:
ALIBUILD_GITHUB_TOKEN: ${{secrets.ALIBUILD_GITHUB_TOKEN}}
run: |
set -x
# We need to fetch the other commit.
git fetch origin ${{ github.event.pull_request.base.ref }}
git fetch origin pull/${{ github.event.pull_request.number }}/head:${{ github.event.pull_request.head.ref }}

# We create a new branch which we will use for the eventual PR.
git config --global user.email "alibuild@cern.ch"
git config --global user.name "ALICE Action Bot"
git checkout -b alibot-cleanup-${{ github.event.pull_request.number }} ${{ github.event.pull_request.head.sha }}

# github.event.pull_request.base.sha is the latest commit on the branch
# the PR will be merged into, NOT the commit this PR derives from! For
# that, we need to find the latest common ancestor between the PR and
# the branch we are merging into.
BASE_COMMIT=$(git merge-base HEAD ${{ github.event.pull_request.base.sha }})
echo "Running clang-format-8 against branch ${{ github.event.pull_request.base.ref }} , with hash ${{ github.event.pull_request.base.sha }}"
COMMIT_FILES=$(git diff --name-only $BASE_COMMIT | grep -ivE 'LinkDef|Utilities/PCG/')
[ "X$COMMIT_FILES" = X ] && { echo "No files to check" ; exit 0; }
RESULT_OUTPUT="$(git-clang-format-8 --commit $BASE_COMMIT --diff --binary `which clang-format-8` $COMMIT_FILES)"

for x in $COMMIT_FILES; do
case $x in
# *.h|*.cxx)
# We remove the header from the diff as it contains +++ then
# we only select the added lines to check for the long ones.
# We do not need to check for the lines which have been removed
# and we do not want to check for the lines which were not changed
# to avoid extra work.
# 120 characters are allowed, meaning the error should start with 122,
# to allow for the starting + at the end of the line.
# Disabled for now, since people don't like the convention.
# git diff $BASE_COMMIT $x | tail -n +6 | grep -e '^+' | grep '.\{122,\}' && { echo "Line longer than 120 chars in $x." && exit 1; } || true ;;
*.hxx|*.cc|*.hpp) echo "$x uses non-allowed extension." && exit 1 ;;
*) ;;
esac
done

if [ "$RESULT_OUTPUT" == "no modified files to format" ] \
|| [ "$RESULT_OUTPUT" == "clang-format did not modify any files" ] ; then
echo "clang-format passed."
git push --set-upstream https://alibuild:$ALIBUILD_GITHUB_TOKEN@github.com/alibuild/AliceO2.git :alibot-cleanup-${{ github.event.pull_request.number }} -f || true
echo ::set-output name=clean::true
else
git-clang-format-8 --commit $BASE_COMMIT \
--diff --binary `which \
clang-format-8` $COMMIT_FILES | patch -p1
echo "clang-format failed."
echo "To reproduce it locally please run"
echo -e "\tgit checkout $TRAVIS_BRANCH"
echo -e "\tgit-clang-format --commit $BASE_COMMIT --diff --binary $(which clang-format)"
echo "Opening a PR to your branch with the fixes"
git commit -m "Please consider the following formatting changes" -a
git show | cat
git fetch https://github.com/AliceO2Group/AliceO2.git pull/${{ github.event.pull_request.number }}/head
git push --set-upstream https://alibuild:$ALIBUILD_GITHUB_TOKEN@github.com/alibuild/AliceO2.git HEAD:refs/heads/alibot-cleanup-${{ github.event.pull_request.number }} -f
echo ::set-output name=clean::false
fi

- name: pull-request
uses: alisw/pull-request@master
with:
source_branch: 'alibuild:alibot-cleanup-${{ github.event.pull_request.number }}'
destination_branch: '${{ github.event.pull_request.user.login }}:${{ github.event.pull_request.head.ref }}'
github_token: ${{ secrets.ALIBUILD_GITHUB_TOKEN }}
pr_title: "Please consider the following formatting changes to #${{ github.event.pull_request.number }}"
pr_body: |
This PR cannot be merged as is. You should either run clang-format yourself and update the pull request, or merge this PR in yours.
You can find AliceO2 coding conventions at http://github.com/AliceO2Group/CodingGuidelines.
continue-on-error: true # We do not create PRs if the branch is not there.

- name: Exit with error if the PR is not clean
run: |
case ${{ steps.clang_format.outputs.clean }} in
true) echo "PR clean" ; exit 0 ;;
false) echo "PR not clean" ; exit 1 ;;
esac
31 changes: 31 additions & 0 deletions .github/workflows/doxygen.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build Documentation

on:
push:
branches:
- 'dev'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install doxygen
run: |
sudo apt-get update -y
sudo apt-get install -y doxygen doxygen-doc doxygen-latex doxygen-gui graphviz cmake
- uses: actions/checkout@v2
with:
ref: "dev"
- name: Install doxygen
run: |
cat > CMakeLists.txt <<\EOF
add_subdirectory(doc)
EOF
cmake .
make doc
git add doc/html
git config --global user.email "github-action-bot@example.com"
git config --global user.name "GitHub Action Bot"
git commit -m "Updated README" -a || echo "No changes to commit"
git push origin `git subtree split --prefix doc/html dev`:refs/heads/gh-pages --force

42 changes: 42 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Prepare O2 tag

on:
workflow_dispatch:
inputs:
tag:
description: 'Tag to prepare'
required: true
default: 'vX.Y.Z'
jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Decide which branch to use
run: |
cat << EOF
::set-output name=branch::$(echo ${{ github.event.inputs.tag }}-patches | tr . - | sed -e's/-[0-9]*-patches$/-patches/')
EOF
id: decide_release_branch
- uses: actions/checkout@v2
with:
ref: "dev"
- name: Tag branch (or create one before tagging if does not exists)
run: |
set -x
git fetch origin
git checkout -B ${{ steps.decide_release_branch.outputs.branch }}
git config --global user.email "alibuild@cern.ch"
git config --global user.name "ALICE Action Bot"
git tag ${{ github.event.inputs.tag }}
git push --set-upstream origin ${{ github.event.inputs.tag }}
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.event.inputs.tag }}
release_name: ${{ github.event.inputs.tag }}
draft: false
prerelease: false
128 changes: 128 additions & 0 deletions .github/workflows/reports.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,128 @@
name: Automatically create CHANGELOG for O2 releases

on:
push:
workflow_dispatch:
inputs:
LAST_RELEASE_DATE:
description: 'Time of the last release'
required: true
default: ''
schedule:
- cron: '0 0 * * *'

jobs:
build:
runs-on: macOS-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- uses: actions/cache@v2
name: Configure pip caching
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- uses: octokit/graphql-action@v2.x
id: get_latest_o2_releases
with:
query: |
{
repository(name: "AliceO2", owner: "AliceO2Group") {
releases(last:14) {
edges {
node {
tagName
publishedAt
}
}
}
}
}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: octokit/graphql-action@v2.x
id: get_latest_o2_prs
with:
query: |
{
repository(name: "AliceO2", owner: "AliceO2Group") {
pullRequests(last: 100) {
edges {
node {
state
mergedAt
title
number
author {
login
}
files(last: 100) {
edges {
node {
path
}
}
}
}
}
}
}
}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Update Changelog
run: |
set -x
mkdir -p doc/data
# We create new files once per month, mostly so that
# we can keep the query results small. It does not
# matter if we get results from different months,
# as what matters is how we merge them.
CURRENT_MONTH=`date +%Y-%m`
cat <<\EOF > doc/data/${CURRENT_MONTH}-o2_releases.json
${{ steps.get_latest_o2_releases.outputs.data }}
EOF
cat <<\EOF > doc/data/${CURRENT_MONTH}-o2_prs.json
${{ steps.get_latest_o2_prs.outputs.data }}
EOF
# FIXME: this should really be one second after the last release
# being published
LAST_RELEASE="${{ github.event.inputs.LAST_RELEASE_DATE }}"
MERGED_AFTER=${LAST_RELEASE:-$(date -v -14d +%Y-%m-%d)}

# Here we convert all the json files to per subsystem
# logs, using the MERGED_AFTER date to further filter them.
# Notice we can have duplicates in each file,
# as they will be removed in the next iteration.
# FIXME: it's probably enough to iterate on the last two
# months, at least for bi-weekly releases.
for f in doc/data/*_prs.json; do
for x in Algorithm Analysis Common DataFormats Detectors EventVisualisation Examples Framework Generators Steer Testing Utilities; do
cat $f | jq ".repository.pullRequests.edges[].node | select(.files.edges[].node.path | test(\"$x\")) | del(.files) | select(.state == \"MERGED\" and .mergedAt >= \"${MERGED_AFTER}\")" > /tmp/${x}_prs.json
if [ ! X`jq -s length /tmp/${x}_prs.json` = X0 ]; then
cat /tmp/${x}_prs.json | jq -r '"- [#\(.number)](https://github.com/AliceO2Group/AliceO2/pull/\(.number)) \(.mergedAt | split("T")[0]): \(.title) by [@\(.author.login)](https://github.com/\(.author.login))"' | sort -u >> /tmp/${x}_prs.md
fi
done
done
# Here we do the merging by iterating on the subsystems adding
# an header for each and removing the duplicates.
printf "# Changes since ${MERGED_AFTER}\n\n" > CHANGELOG.md
for x in Algorithm Analysis Common DataFormats Detectors EventVisualisation Examples Framework Generators Steer Testing Utilities; do
[ ! -f /tmp/${x}_prs.md ] && continue
printf "## Changes in $x\n\n" >> CHANGELOG.md
cat /tmp/${x}_prs.md | sort -k3 | uniq >> CHANGELOG.md
done
- name: Commit and push if changed
run: |-
git add CHANGELOG.md doc/data
git diff
git config --global user.email "github-action-bot@example.com"
git config --global user.name "GitHub Action Bot"
git commit -m "Updated README" -a || echo "No changes to commit"
git push origin HEAD:changelog -f
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,6 @@ bazel-*

# direnv
.envrc

# LSP support on macOS with vim
.clangd
Loading