Compare commits

...

37 Commits

Author SHA1 Message Date
02f05487f9 pis-manual-fixes (#95)
All checks were successful
Generate Release / validate_and_release (push) Successful in 10s
Reviewed-on: #95
2024-11-13 00:20:35 +00:00
337029dea8 Fix PIS related issues
All checks were successful
Generate Release / validate_and_release (push) Successful in 15s
2024-11-13 00:19:18 +00:00
dea96ef8a2 Ensure action runs on pis-* branches. 2024-11-13 00:12:07 +00:00
8b6c642883 Create new PIS File (#92)
All checks were successful
Generate Release / validate_and_release (push) Successful in 9s
Co-authored-by: OwlBot <bonifacefj@gmail.com>
Co-authored-by: owlbot <owlbot@owlboard.info>
Reviewed-on: #92
2024-11-12 11:52:02 +00:00
aa81409944 Fix errournous duplicates
All checks were successful
Generate Release / validate_and_release (push) Successful in 10s
2024-11-12 11:46:39 +00:00
dd3fd76dbc auto-dgp2-2024-11-11_09-55-58 (#70)
All checks were successful
Generate Release / validate_and_release (push) Successful in 11s
Reviewed-on: #70
2024-11-12 11:29:53 +00:00
0abc76cd5a Change instances of 'WOP' to 'WPH'. WOP refers to Worcestershire Parkway low level.
All checks were successful
Generate Release / validate_and_release (push) Successful in 11s
2024-11-12 11:28:29 +00:00
owlbot
82cc604817 Sort & Merge PIS Files 2024-11-12 11:27:30 +00:00
443e754659 Fix format
All checks were successful
Generate Release / validate_and_release (push) Successful in 15s
2024-11-12 11:27:12 +00:00
04e50dd9ed Fix file format
All checks were successful
Generate Release / validate_and_release (push) Successful in 18s
2024-11-12 11:23:13 +00:00
236d357663 Manual verification on 166219
All checks were successful
Generate Release / validate_and_release (push) Successful in 17s
2024-11-11 19:52:01 +00:00
a361f89275 Fix mis-matches involving WMN and WNM
Some checks failed
Generate Release / validate_and_release (push) Failing after 8s
2024-11-11 10:43:51 +00:00
4f683455f6 Closes #76
Some checks failed
Generate Release / validate_and_release (push) Failing after 9s
2024-11-11 10:32:25 +00:00
5a93832f81 Close: #89
Some checks failed
Generate Release / validate_and_release (push) Failing after 9s
2024-11-11 10:27:55 +00:00
c7f65df091 Will require further checks
Some checks failed
Generate Release / validate_and_release (push) Failing after 8s
2024-11-11 10:09:10 +00:00
a9cb0897ef Closes #62 2024-11-11 10:09:10 +00:00
c1d9452857 Closes #63 2024-11-11 10:09:10 +00:00
fb13501326 Closes #64 2024-11-11 10:09:10 +00:00
19a90adccb Closes #65 2024-11-11 10:09:10 +00:00
fbed314359 Closes #68 2024-11-11 10:09:10 +00:00
7022d23709 Create new PIS File 2024-11-11 10:09:10 +00:00
091e136ac6 auto-legacy-dgp (#69)
Some checks are pending
Generate Release / validate_and_release (push) Waiting to run
Reviewed-on: #69
2024-11-11 09:59:26 +00:00
1ef727df52 Delete pis/dg-additions.yaml
All checks were successful
Generate Release / validate_and_release (push) Successful in 11s
2024-11-11 09:58:40 +00:00
owlbot
51e7b533aa Sort & Merge PIS Files 2024-11-11 09:58:06 +00:00
cbffbc76be diagram-parser additions from driver schedulec ards
All checks were successful
Generate Release / validate_and_release (push) Successful in 16s
2024-11-11 09:53:32 +00:00
dce6f40a12 toc-patching (#61)
Some checks are pending
Generate Release / validate_and_release (push) Waiting to run
Reviewed-on: #61
2024-11-10 19:08:59 +00:00
80762ad3c9 adjust match for removing automatically generated files 2024-11-10 19:06:29 +00:00
173042d741 Adjust 'toc' value for HEx services 2024-11-10 19:05:46 +00:00
fa74bc5fec Remove merged file 2024-11-10 19:04:51 +00:00
fbfb97f71f Only add 'toc' if not already defined 2024-11-10 19:04:27 +00:00
5e0de0065b auto-dgp2-2024-11-02_21-08-59 (#60)
All checks were successful
Generate Release / validate_and_release (push) Successful in 11s
Merge verified codes to main.

Co-authored-by: OwlBot <bonifacefj@gmail.com>
Reviewed-on: #60
2024-11-10 17:48:46 +00:00
17e0a70de5 Update merge script to handle files from dgp2
All checks were successful
Generate Release / validate_and_release (push) Successful in 9s
2024-11-02 21:14:18 +00:00
9a2d739189 Fix Devonport - was entered as DVP, should have been DPT
Some checks are pending
Generate Release / validate_and_release (push) Waiting to run
2024-11-02 19:32:22 +00:00
3c752caeb9 Closes:
All checks were successful
Generate Release / validate_and_release (push) Successful in 11s
- #20
  - #21
 - #22
 - #23
 - #26
 - #27
 - #29
2024-11-02 19:29:45 +00:00
a3f68176b7 Closes #28
All checks were successful
Generate Release / validate_and_release (push) Successful in 18s
2024-11-02 19:25:31 +00:00
81ea75c31d Add pis/dgp-manual-yet-again.yaml (#19)
All checks were successful
Generate Release / validate_and_release (push) Successful in 11s
Co-authored-by: owlbot <owlbot@owlboard.info>
Reviewed-on: #19
2024-10-31 23:36:07 +00:00
94c31a34f8 Delete pis/dg-manual-again.yaml
All checks were successful
Generate Release / validate_and_release (push) Successful in 10s
2024-10-30 15:33:55 +00:00
4 changed files with 343 additions and 364 deletions

View File

@ -6,6 +6,7 @@ on:
branches: branches:
- auto-* - auto-*
- workflow_update - workflow_update
- pis-*
jobs: jobs:
validate_and_release: validate_and_release:

View File

@ -1,76 +0,0 @@
- code: "6446"
#headcode: 1F01
#date: 2024-10-26 00:00:00
#source_file: 1026 SO 26th October 2024 - West DVR SCards - Main Issue.docx
stops: [wsb,wmn,sal,rom,cfr,esl,frm,csa,ftn,pms,pmh]
- code: "6451"
#headcode: 1F18
#date: 2024-10-26 00:00:00
#source_file: 1026 SO 26th October 2024 - West DVR SCards - Main Issue.docx
stops: [pmh,pms,ftn,csa,frm,esl,cfr,rom,sal,wmn,wsb,tro,boa,bth,bri,fit,nwp,cdf]
- code: "6539"
#headcode: 2V53
#date: 2024-10-26 00:00:00
#source_file: 1026 SO 26th October 2024 - West DVR SCards - Main Issue.docx
stops: [pms,ftn,csa,frm,esl,rom,sal,wmn,dmh,wsb,tro,boa,avf,ffd,bth,olf,kyn,bri]
- code: "6449"
#headcode: 1F07
#date: 2024-10-26 00:00:00
#source_file: 1026 SO 26th October 2024 - West DVR SCards - Main Issue.docx
stops: [cdf,nwp,stj,fit,bri,bth,boa,tro,wsb,wmn,sal,rom,cfr,esl,frm,csa,ftn,pms,pmh]
- code: "6456"
#headcode: 1F06
#date: 2024-10-26 00:00:00
#source_file: 1026 SO 26th October 2024 - West DVR SCards - Main Issue.docx
stops: [pmh,pms,ftn,csa,frm,esl,cfr,rom,sal,wmn,dmh,wsb,tro,boa,ffd,bth,olf,kyn,bri,fit,nwp,cdf]
- code: "6454"
#headcode: 1F13
#date: 2024-10-26 00:00:00
#source_file: 1026 SO 26th October 2024 - West DVR SCards - Main Issue.docx
stops: [cdf,nwp,fit,bri,bth,boa,tro,wsb,wmn,sal,rom,cfr,esl,frm,csa,ftn,pms,pmh]
- code: "6452"
#headcode: 1F28
#date: 2024-10-26 00:00:00
#source_file: 1026 SO 26th October 2024 - West DVR SCards - Main Issue.docx
stops: [pmh,pms,ftn,csa,frm,esl,cfr,rom,sal,wmn,wsb,tro,boa,bth,bri,fit,stj,nwp,cdf]
- code: "6450"
#headcode: 1F29
#date: 2024-10-26 00:00:00
#source_file: 1026 SO 26th October 2024 - West DVR SCards - Main Issue.docx
stops: [cdf,nwp,stj,fit,bri,bth,boa,tro,wsb,wmn,sal,rom,cfr,esl,frm,ftn,pms,pmh]
- code: "6461"
#headcode: 1F33
#date: 2024-10-26 00:00:00
#source_file: 1026 SO 26th October 2024 - West DVR SCards - Main Issue.docx
stops: [cdf,nwp,fit,bri,bth,boa,tro,wsb,dmh,wmn,sal,rom,cfr,esl,frm,ftn,pms,pmh]
- code: "6458"
#headcode: 1F26
#date: 2024-10-26 00:00:00
#source_file: 1026 SO 26th October 2024 - West DVR SCards - Main Issue.docx
stops: [pmh,pms,ftn,csa,frm,esl,cfr,rom,sal,wmn,wsb,tro,boa,bth,kyn,bri,fit,stj,nwp,cdf]
- code: "6455"
#headcode: 1F35
#date: 2024-10-26 00:00:00
#source_file: 1026 SO 26th October 2024 - West DVR SCards - Main Issue.docx
stops: [bri,kyn,olf,bth,ffd,avf,boa,tro,wsb,wmn,sal,rom,cfr,esl,frm,ftn,pms]
- code: "6460"
#headcode: 2M95
#date: 2024-10-26 00:00:00
#source_file: 1026 SO 26th October 2024 - West DVR SCards - Main Issue.docx
stops: [pmh,pms,ftn,frm,esl,cfr,rom,sal,wmn,dmh,wsb]
- code: "6448"
#headcode: 1F11
#date: 2024-10-26 00:00:00
#source_file: 1026 SO 26th October 2024 - West DVR SCards - Main Issue.docx
stops: [cdf,nwp,stj,fit,bri,bth,boa,tro,wsb,dmh,wmn,sal,rom,cfr,esl,frm,csa,ftn,pms,pmh]
- code: "6447"
#headcode: 1F03
#date: 2024-10-26 00:00:00
#source_file: 1026 SO 26th October 2024 - West DVR SCards - Main Issue.docx
stops: [bri,kyn,olf,bth,ffd,avf,boa,tro,wsb,wmn,sal,rom,cfr,esl,frm,csa,ftn,pms,pmh]
- code: "6453"
#headcode: 1F34
#date: 2024-10-26 00:00:00
#source_file: 1026 SO 26th October 2024 - West DVR SCards - Main Issue.docx
stops: [pmh,pms,ftn,frm,esl,cfr,rom,sal,wmn,wsb,tro,boa,bth,bri,fit,pwy,stj,nwp,cdf]

File diff suppressed because it is too large Load Diff

View File

@ -31,15 +31,17 @@ function sortAndMergeYAMLFiles() {
return codeA - codeB return codeA - codeB
}) })
const mergedYaml = yaml.stringify(mergedData);
// Construct the output string // Construct the output string, removing duplicates
let outputString = "pis:\n"; let outputString = "pis:\n";
const seenCodes = new Set();
mergedData.forEach(item => { mergedData.forEach(item => {
if (item.stops.length > 0) { if (!seenCodes.has(item.code) && item.stops.length > 0) {
seenCodes.add(item.code);
outputString += ` - code: "${item.code}"\n`; outputString += ` - code: "${item.code}"\n`;
outputString += ` stops: [${item.stops.map(stop => `${stop}`).join(',')}]\n`; outputString += ` stops: [${item.stops.map(stop => `${stop}`).join(',')}]\n`;
outputString += ` toc: "gw"\n`; outputString += ` toc: "${item.toc || "gw"}"\n`;
} }
}); });
@ -50,8 +52,9 @@ function sortAndMergeYAMLFiles() {
console.error("Error writing gw.pis", err) console.error("Error writing gw.pis", err)
} }
// Remove any files created by dgp2
files.forEach(file => { files.forEach(file => {
if (file.startsWith('dg_parser')) { if (file.startsWith('auto-')) {
fs.unlinkSync(directoryPath + file); fs.unlinkSync(directoryPath + file);
console.log(`Deleted file: ${file}`); console.log(`Deleted file: ${file}`);
} }