Compare commits

..

39 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
ba7dc57b46 manual-additions-from-dgp (#18)
All checks were successful
Generate Release / validate_and_release (push) Successful in 12s
Co-authored-by: owlbot <owlbot@owlboard.info>
Reviewed-on: #18
2024-10-30 15:30:40 +00:00
d4f1cd6c9b auto-manual-addition (#17)
All checks were successful
Generate Release / validate_and_release (push) Successful in 10s
Co-authored-by: owlbot <owlbot@owlboard.info>
Reviewed-on: #17
2024-10-25 21:50:23 +01:00
3 changed files with 456 additions and 287 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:

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}`);
} }