Compare commits

..

51 Commits

Author SHA1 Message Date
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
b4d992414e auto-fixing (#16)
All checks were successful
Generate Release / validate_and_release (push) Successful in 12s
Co-authored-by: owlbot <owlbot@owlboard.info>
Reviewed-on: #16
2024-10-24 21:10:38 +01:00
0c159e121b Adjust merge script to add "gw" as TOC
All checks were successful
Generate Release / validate_and_release (push) Successful in 16s
2024-10-24 20:55:10 +01:00
93726137aa auto-20240722-150645 (#14)
All checks were successful
Generate Release / validate_and_release (push) Successful in 15s
Co-authored-by: owlbot <owlbot@owlboard.info>
Reviewed-on: #14
2024-07-24 13:06:21 +01:00
71a5647146 auto-20240712-112351 (#13)
All checks were successful
Generate Release / validate_and_release (push) Successful in 21s
Reviewed-on: #13
2024-07-12 11:33:46 +01:00
owlbot
0562c3bcb3 Sort & Merge PIS Files 2024-07-12 10:31:03 +00:00
96aa5ef9c0 Reviewed changes
All checks were successful
Generate Release / validate_and_release (push) Successful in 36s
2024-07-12 11:30:29 +01:00
77125dfda0 From owlbot diagram-parser
Some checks failed
Generate Release / validate_and_release (push) Failing after 3m10s
2024-07-12 11:25:15 +01:00
8e14964e43 Remove autoPR from automation as it is not working
All checks were successful
Generate Release / validate_and_release (push) Successful in 16s
2024-07-06 11:38:56 +01:00
3f6b728ebc Remove auto file 2024-07-06 11:38:21 +01:00
ed619461e5 Merge new codes into main file.
All checks were successful
Generate Release / validate_and_release (push) Successful in 36s
2024-07-06 11:36:53 +01:00
e26c2ed7a0 auto-20240706-113231 (#12)
All checks were successful
Generate Release / validate_and_release (push) Successful in 20s
Reviewed-on: #12
2024-07-06 11:34:47 +01:00
owlbot
ea4ec2e34f Sort & Merge PIS Files 2024-07-06 10:32:16 +00:00
6ba95bb5b4 Update pis/auto-20240706-145015.yaml
Some checks failed
Generate Release / validate_and_release (push) Failing after 35s
2024-07-06 11:31:24 +01:00
c7e21c80fe Add pis/auto-20240706-145015 2024-07-06 11:25:00 +01:00
caa07f840c Update knowledgebase data
All checks were successful
Generate Release / validate_and_release (push) Successful in 13s
2024-07-01 16:26:25 +01:00
4 changed files with 2131 additions and 121 deletions

View File

@ -31,14 +31,4 @@ jobs:
commit_message: Sort & Merge PIS Files
commit_user_name: owlbot
commit_user_email: owlbot@owlboard.info
commit_author: owlbot <owlbot@owlboard.info>
- name: Create PR
uses: https://github.com/peter-evans/create-pull-request@v6
with:
token: ${{ secrets.OWLBOT_KEY }}
committer: OwlBot <owlbot@owlboard.info>
signoff: true
title: Merge Changes
reviewers: fred.boniface
branch: main
commit_author: owlbot <owlbot@owlboard.info>

View File

@ -272,10 +272,10 @@
<Station>
<CrsCode>SAI</CrsCode>
<Name>St Andrews (Bus)</Name>
<SixteenCharacterName>St Andrews</SixteenCharacterName>
<Longitude>-2.796074</Longitude>
<Latitude>56.340409</Latitude>
<Name>Sheffield Arena (Tram)</Name>
<SixteenCharacterName>Sheffield Arena</SixteenCharacterName>
<Longitude>-1.420300</Longitude>
<Latitude>53.398331</Latitude>
</Station>
<Station>

File diff suppressed because it is too large Load Diff

View File

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