Skip to content

Commit 495793c

Browse files
authored
Merge branch 'VATSIM-UK:main' into main
2 parents af8d083 + 64c7dac commit 495793c

File tree

672 files changed

+156704
-60236
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

672 files changed

+156704
-60236
lines changed

.github/CHANGELOG.md

Lines changed: 83 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,85 @@
1+
# Changes from release 2024/06 to 2024/07
2+
1. AIRAC (2407) - Converted Brize Norton (EGVN) frequencies to 8.33kHz spacing - thanks to @danielbutton (Daniel Button)
3+
2. Procedure Change (2407) - Updated Cambridge (EGSC) and Ronaldsway (EGNS) frequencies - thanks to @PLM1995 (Peter Mooney)
4+
3. Enhancement - Changed Jersey Profile from Park Air to NOVA 9000 - thanks to @SamLefevre (Samuel Lefevre)
5+
4. Enhancement - TopSky updated to 2.5 beta 9 - thanks to @luke11brown (Luke Brown)
6+
5. Enhancement - Updated vSMR and added Heathrow (EGLL) Geofenced config - thanks to @AliceFord (Alice Ford)
7+
6. Enhancement - Added Glasgow radar lines - thanks to @luke11brown (Luke Brown)
8+
9+
# Changes from release 2024/04 to 2024/06
10+
1. Bug - Fixed Heathrow profiles not loading the Heathrow Alias - thanks to @hazzas-99
11+
2. Bug - Updated VATCAN Event Bookings plugin and list configuration - thanks to @hazzas-99
12+
3. AIRAC (2404) - Changed Fairoaks (EGTF) Position from FISO to A/G - thanks to @hazzas-99
13+
4. Bug - Fixes in PC vATIS profile - thanks to @robbo599 (Lee Roberts)
14+
5. Bug - Fixed vATIS Manchester (EGCC) ATIS frequency and Jersey (EGJJ) TOWER frequency - thanks to @RedstonePilot (Ben Walker)
15+
6. Enhancement - Merged Hawarden (EGNR) into Liverpool (EGGP) and Updated Gatwick (EGKK) ARPT_COND - thanks to @RedstonePilot (Ben Walker)
16+
7. AIRAC (2404) - Updated military frequencies (EGOQ, EGOV, EGQL) - thanks to @kristiankunc (Kristián Kunc)
17+
8. AIRAC (2405) - Added D218 complex (Fairford) to TopSky danger areas - thanks to @luke11brown (Luke Brown)
18+
9. Bug - Fixed vATIS transition levels - thanks to @lewishh
19+
10. AIRAC (2405) - Prestwick (EGPK) Runway Designator Change - thanks to @lewishh
20+
11. Procedure Change (2405) - Redhill (EGKR) added to Gatwick profile - thanks to @luke11brown (Luke Brown)
21+
12. Enhancement - Custom EuroScope sounds added as default - thanks to @luke11brown (Luke Brown)
22+
13. Bug - Displayed all SCT2 (holding points & stand numbers) on all SMR style displays - thanks to @luke11brown (Luke Brown)
23+
14. Bug - Path to VCH plugin fixed on area profiles - thanks to @luke11brown (Luke Brown)
24+
15. AIRAC (2406) - EGKK SMAA Area C added to TopSky MSAW data - thanks to @luke11brown (Luke Brown)
25+
16. Enhancement - Added Route checker display to all SMR profiles - thanks to @luke11brown (Luke Brown)
26+
17. Enhancement - Added SRW display to all SMR profiles - thanks to @luke11brown (Luke Brown)
27+
18. Bug - Fix overlapping items on radar displays - thanks to @SamLefevre (Samuel Lefevre)
28+
19. Enhancement - Updated East Midlands Profile - thanks to @SamLefevre (Samuel Lefevre)
29+
30+
# Changes from release 2024/03 to 2024/04
31+
1. Enhancement - Enabled Leeds Radar Gate on profiles - thanks to @SamLefevre (Samuel Lefevre)
32+
2. AIRAC (2404) - Amended Benbecula (EGPL) ATIS frequency - thanks to @ChrisXPP (Christoph Reule)
33+
3. Enhancement - Added VCH columns (hidden) to the relevant lists - thanks to @RedstonePilot (Ben Walker)
34+
4. Bug - Fix typo in voice.txt EGHC_ATIS - thanks to @RedstonePilot (Ben Walker)
35+
5. Enhancement - Added wallop aliases - thanks to @SamLefevre (Samuel Lefevre)
36+
6. Enhancement - Displayed all ATZs for AGCS/AFIS endorsed positions - thanks to @RedstonePilot (Ben Walker)
37+
7. Enhancement - Added ADC vAtis profiles - thanks to @RedstonePilot (Ben Walker)
38+
8. Bug - Fixed error in AC profiles settings paths - thanks to @hazzas-99
39+
9. Enhancement - Added R/T column to arrival lists - thanks to @hazzas-99
40+
10. Enhancement - Added iTEC profiles for Scottish AC - thanks to @SamLefevre (Samuel Lefevre)
41+
11. Enhancement - Changed from UniATIS to VATATIS - thanks to @SamLefevre (Samuel Lefevre)
42+
12. Enhancement - Various updates to Heathrow alias, voice and profiles in advance of CTP 24W - thanks to @hazzas-99
43+
44+
# Changes from release 2024/01 to 2024/03
45+
1. Bug - Fix Edinburgh extended centreline - thanks to @SamLefevre (Samuel Lefevre)
46+
2. Enhancement (TopSky) - Added additional scale markers (graticules) and Clacton radar monitored routes - thanks to @hazzas-99
47+
3. Enhancement - Added vACDM plugin - thanks to @luke11brown (Luke Brown)
48+
4. AIRAC (2402) - D597 removed, D514 added - thanks to @luke11brown (Luke Brown)
49+
5. AIRAC (2403) - D305 activation schedule amended (by NOTAM only) - thanks to @luke11brown (Luke Brown)
50+
6. Bug - EGPA (Kirkwall) ATIS frequency fixed - thanks to @luke11brown (Luke Brown)
51+
7. Bug - Generic profiles missing file added - thanks to @luke11brown (Luke Brown)
52+
8. Enhancement - Ground Status right click actions in lists amended - thanks to @luke11brown (Luke Brown)
53+
54+
# Changes from release 2023/13 to 2024/01
55+
1. Bug - Corrected Denham (EGLD) Frequency - thanks to @AliceFord (Alice Ford)
56+
2. Bug - Corrected README \%appdata%\Roaming references - thanks to @Brett-Parker (Brett Parker)
57+
3. Procedure Change (2313) - Permanent Implementation of TC Midlands - thanks to @kye-taylor (Kye Taylor)
58+
4. Enhancement - Added pre-note column to startup list - thanks to @RedStonePilot (Ben Walker)
59+
5. Enhancement - Updated Heathrow profile and displays - thanks to @SamLefevre (Samuel Lefevre)
60+
6. Enhancement - Use EuroScope 3.2.7 Settings - thanks to @AliceFord (Alice Ford)
61+
7. Enhancement - Plugin version bump - thanks to @AliceFord (Alice Ford)
62+
8. AIRAC (2402) - Added EGHC_ATIS frequency - thanks to @RedstonePilot (Ben Walker)
63+
64+
# Changes from release 2023/11 to 2023/13
65+
1. Procedure Change (2311) - Updated vATIS Profiles with 8.33 Frequencies - thanks to @hazzas-99
66+
2. Bug - Corrected Jersey Control frequency - thanks to @danielbutton (Daniel Button)
67+
3. Bug - Added missing voice frequencies - thanks to @AliceFord (Alice Ford)
68+
4. Enhancement - Startup, taxi out and take off lists configured and utilised in all SMR displays - thanks to @luke11brown (Luke Brown)
69+
5. AIRAC (2312) - Added D324A/B (RAF Waddington) danger areas - thanks to @luke11brown (Luke Brown)
70+
6. Procedure Change (2313) - Changed East Midlands Radar (EGNX_APP) frequency - thanks to @PLM1995 (Peter Mooney)
71+
72+
# Changes from release 2023/10 to 2023/11
73+
1. AIRAC (2311) - Area minimum altitudes updated - thanks to @luke11brown (Luke Brown)
74+
2. Bug - VFPC now loads into profiles automatically - thanks to luke11brown (Luke Brown)
75+
3. AIRAC (2311) - Exeter (EGTE) SMAA heights amended - thanks to @luke11brown (Luke Brown)
76+
4. Bug - removed colons from ATIS lines preventing display - thanks to @luke11brown (Luke Brown)
77+
5. Procedure Change (2311) - 8.33 Transition (ENR Phase 3) - Updated voice settings for UK enroute event positions - thanks to @hazzas-99
78+
6. Bug (TopSky) - Fixed coordination indicator in TopSky tags (displays releases from External ACCs) - thanks to @luke11brown (Luke Brown)
79+
7. Procedure Change (2311) - 8.33 Transition (AD Phase 3) - Updated voice settings for all UK AD positions - thanks to @KHardern (Kieran Hardern)
80+
8. Bug - Fixed Aberdeen (EGPD) and Glasgow (EGPF) GND facility type - thanks to @RedStonePilot (Ben Walker)
81+
9. Bug - Added missing AGCS / AFISO Frequencies - thanks to @AliceFord (Alice Ford)
82+
183
# Changes from release 2023/09 to 2023/10
284
1. Bug - Fixed ATIS frequencies in Essex Profiles for 8.33 Trial - thanks to @kye-taylor (Kye Taylor)
385
2. Bug - Corrected Liverpool Ground profile type - thanks to @PLM1995 (Peter Mooney)
@@ -30,7 +112,7 @@
30112
29. Enhancement - Change NODE symbology to have dotted lines on high level CTAs - thanks to @SamLefevre (Samuel Lefevre)
31113
30. Enhancement - Added Harwarden RMA to Liverpool profile - thanks to @SamLefevre (Samuel Lefevre)
32114
31. Enhancement - Change LTC displays to new tickless centrelines and disables GD/GW/FF CTA - thanks to @SamLefevre (Samuel Lefevre)
33-
X. Bug - Fixed QNH formatting in London Gatwick (EGKK/LGW) vATIS profile - thanks to @hazzas-99
115+
32. Bug - Fixed QNH formatting in London Gatwick (EGKK/LGW) vATIS profile - thanks to @hazzas-99
34116

35117
# Changes from release 2023/08 to 2023/09
36118
1. Bug - vATIS files EGKK frequency corrected - thanks to @luke11brown (Luke Brown)

.github/workflows/auto_airac_actions.py

Lines changed: 20 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
1-
"""
2-
UKCP Updater
3-
Chris Parkinson (@chssn)
4-
"""
5-
61
#!/usr/bin/env python3
72

83
# Standard Libraries
@@ -20,36 +15,36 @@
2015

2116
# Local Libraries
2217

18+
2319
class Airac:
2420
"""Class for general functions relating to AIRAC"""
2521

2622
def __init__(self):
2723
# First AIRAC date following the last cycle length modification
28-
start_date = "2019-01-02"
24+
start_date = "2021-01-28"
2925
self.base_date = datetime.date.fromisoformat(str(start_date))
3026
# Length of one AIRAC cycle
3127
self.cycle_days = 28
3228
# Today
3329
self.today_date = datetime.datetime.now().date()
3430

35-
def initialise(self, date_in:str=0) -> int:
31+
def initialise(self, date_in=None) -> int:
3632
"""Calculate the number of AIRAC cycles between any given date and the start date"""
3733
if date_in:
3834
input_date = datetime.date.fromisoformat(str(date_in))
3935
else:
4036
input_date = datetime.date.today()
4137

42-
# How many AIRAC cycles have occured since the start date
43-
diff_cycles = (input_date - self.base_date) / datetime.timedelta(days=1)
38+
start_of_year = datetime.date(input_date.year, 1, 1)
39+
# How many AIRAC cycles have occurred since the start of the calendar year
40+
diff_cycles = (input_date - start_of_year) / datetime.timedelta(days=1)
4441
# Round that number down to the nearest whole integer
4542
number_of_cycles = floor(diff_cycles / self.cycle_days)
46-
logger.debug(f"{number_of_cycles} AIRAC cycles since {self.base_date}")
47-
4843
return number_of_cycles
4944

5045
def current_cycle(self) -> str:
5146
"""Return the date of the current AIRAC cycle"""
52-
def cycle(sub:int=0):
47+
def cycle(sub=0):
5348
number_of_cycles = self.initialise() - sub
5449
number_of_days = number_of_cycles * self.cycle_days + 1
5550
current_cycle = self.base_date + datetime.timedelta(days=number_of_days)
@@ -59,18 +54,17 @@ def cycle(sub:int=0):
5954
if current_cycle > self.today_date:
6055
current_cycle = cycle(sub=1)
6156

62-
logger.info("Current AIRAC Cycle is: {}", current_cycle)
57+
# Format month with leading zero if necessary
58+
month_part = str(current_cycle.month).zfill(2) # Zero padding for single-digit months
6359

64-
return str(current_cycle)
60+
return f"{current_cycle.year}_{month_part}"
6561

6662
def current_tag(self) -> str:
6763
"""Returns the current tag for use with git"""
68-
current_cycle = self.current_cycle()
69-
# Split the current_cycle by '-' and return in format yyyy/mm
70-
split_cc = str(current_cycle).split("-")
71-
logger.debug(f"Current tag should be {split_cc[0]}/{split_cc[1]}")
72-
73-
return f"{split_cc[0]}/{split_cc[1]}"
64+
current_cycle_count = self.initialise()
65+
current_month = str(self.today_date.month).zfill(2) # Add leading zero if necessary
66+
current_tag = f"{self.today_date.year}/{current_month}"
67+
return current_tag
7468

7569

7670
class CurrentInstallation:
@@ -131,7 +125,7 @@ def gng_data_update(self) -> None:
131125
"Accept-Encoding": "gzip, deflate",
132126
"Accept-Language": "en-GB,en-US;q=0.9,en;q=0.8",
133127
"Connection": "close"
134-
}
128+
}
135129
response = requests.get(zip_file, headers=headers, timeout=30)
136130
logger.debug(f"Response Status = {response.status_code}")
137131
if response.status_code == 200:
@@ -163,13 +157,13 @@ def gng_data_update(self) -> None:
163157
shutil.copy(
164158
f"import/EGTT/{file}",
165159
f"UK/Data/Datafiles/{file.split('/', maxsplit=1)[-1]}"
166-
)
160+
)
167161
if "ICAO_Airlines" in file:
168162
# Copy the "ICAO_Airlines.txt" file into the vSMR folder
169163
shutil.copy(
170164
f"import/EGTT/{file}",
171165
f"UK/Data/Plugin/vSMR/{file.split('/', maxsplit=1)[-1]}"
172-
)
166+
)
173167
logger.success(f"Moved {file}")
174168

175169
# Cleanup the import directory
@@ -258,10 +252,10 @@ def get_sector_file() -> str:
258252
# Clean up old sector files
259253
logger.debug(f"Sector file name{sector_fn}")
260254
for e_type in ext:
261-
os.remove(
262-
(f"{self.ukcp_location}/Data/Sector/",
263-
f"{str(sector_fn[0]).split('.', maxsplit=1)[0]}.{e_type}"))
264255

256+
path_to_remove = f"{self.ukcp_location}/Data/Sector/{str(sector_fn[0]).split('.', maxsplit=1)[0]}.{e_type}"
257+
os.remove(path_to_remove)
258+
265259
# Return the newly downloaded sector file
266260
return str(f"{self.ukcp_location}/Data/Sector/UK_{airac_format}.sct")
267261
return str(sector_file[0])

.github/workflows/auto_airac_actions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ jobs:
4343
branch: sf_${{ env.airac }}
4444
title: ${{ env.airac }} Sector File Update
4545
body: This pull request was automatically generated to update the sector file to AIRAC ${{ env.airac }}.
46-
reviewers: chssn
46+
reviewers: luke11brown

.github/workflows/compile_exe.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
run: pip install pyinstaller
4949

5050
- name: Run Python Script
51-
run: pyinstaller --distpath ./UK/ --onefile -n LogonDetails.exe ./UK/LogonDetails.py
51+
run: pyinstaller --distpath ./UK/ --onefile --icon=./.github/workflows/logo.ico -n LogonDetails.exe ./UK/LogonDetails.py
5252

5353
- name: Commit exe File
5454
run: |

.github/workflows/logo.ico

4.19 KB
Binary file not shown.

Contributing.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,24 +4,24 @@ Welcome to the UK Controller Pack repository. Thank you for your interest in con
44

55
## Contributor license agreement
66

7-
By submitting code as an individual you agree that VATSIM UK can use your ammendments, fixes, patches, changes, modifications, submissions and creations in the production of the UK Controller Pack and that the ownership of your submissions transfers to VATSIM UK in their entirety.
7+
By submitting code as an individual, you agree that VATSIM UK can use your amendments, fixes, patches, changes, modifications, submissions and creations in the production of the UK Controller Pack and that the ownership of your submissions transfers to VATSIM UK in their entirety.
88
Helping others
99

1010
Please help other users wherever you can (everybody starts somewhere). If you require assistance (or wish to provide additional assistance) you can find our contributors in the VATSIM UK Discord.
1111

12-
To access Discord, you can visit https://www.vatsim.uk/discord and follow the registration instructions. Once you've logged in, find the channel "#sector_file_development".
12+
To access Discord, you can visit https://www.vatsim.uk/discord and follow the registration instructions. Once you have logged in, find the channel "#sector_file_development".
1313
I want to contribute!
1414

15-
If you wish to contribute to the UK Controller Pack, there's many ways in which you can help out.
15+
If you wish to contribute to the UK Controller Pack, there is many ways in which you can help out.
1616
### Contributing to the data
1717

1818
If you're just getting started with GitHub (and project contributions) then we suggest you take a look at issues marked with both the "up-for-grabs" and/or "good first issue" labels. These issues will be of reasonable size and challenge while not being as overly complex as others and a good introduction for anyone who wants to start contributing to the project. This was inspired by an article by Ken C. Dodds.
1919

20-
If you're comfortable with contributing to Open Source projects on GitHub please ensure you read our expectations for issue tracking, feature proposals and merge requests.
20+
If you are comfortable with contributing to Open Source projects on GitHub please ensure you read our expectations for issue tracking, feature proposals and merge requests.
2121

2222
If you require support with the Controller Pack or EuroScope, please utilise our Discord channels or the VATSIM UK Helpdesk. Issues regarding the features and functions of Euroscope or how to load the Controller Pack will not be handled. The issue tracker is for feature requests and bugs concerning the UK Controller Pack itself.
2323

24-
When submitting an issue, there's a few guidelines we'd ask you to respect to make it easier to manage (and for others to understand):
24+
When submitting an issue, there is a few guidelines we'd ask you to respect to make it easier to manage (and for others to understand):
2525
- Search the issue tracker before you submit your issue - it may already be present.
2626
- When opening an issue, a template is provided for you. Please provide as much information as requested to ensure others are able to act upon the requests or bug report.
2727
- Please ensure you add screenshots or documentation references for bugs/changes so we can quickly ascertain if the request is suitable.
@@ -31,19 +31,19 @@ In order to be 'assigned' an issue, please comment on the issue itself - we can
3131

3232
We welcome pull requests with fixes and improvements to the Controller Pack. The features we really would like public support on are marked with "up-for-grabs" but other improvements are also welcome - please ensure you read over the pull work-flow below.
3333

34-
If you wish to add a new feature or you spot a bug that you wish to fix, please open an issue for it first on the UK Controller Pack issue tracker.
34+
If you wish to add a new feature or spot a bug that you wish to fix, please open an issue for it first on the UK Controller Pack issue tracker.
3535

36-
The work-flow for submitting a new pull request is designed to be simple, but also to ensure consistency from all contributors:
36+
The workflow for submitting a new pull request is designed to be simple, but also to ensure consistency from all contributors:
3737
- Fork the project into your personal space on GitHub.com.
38-
- Create a new branch (with the name issue-issue_number, replacing issue_number with the issue number you're resolving).
38+
- Create a new branch (with the name issue-issue_number, replacing issue_number with the issue number you are resolving).
3939
- Commit your changes.
4040
- When writing commit messages, consider closing your issues via the commit message (by including "fix #22" or "fixes #22", for example ).
4141
- The issues will be referenced in the first instance and then closed once the MR is accepted.
4242
- Add your changes to the CHANGELOG.md file - this can be found in UK-Sector-File/.github/CHANGELOG.md.
4343
- Push the commit(s) to your fork.
44-
- Submit a pull request (PR) to the master branch.
44+
- Submit a pull request (PR) to the main branch.
4545
- The PR title should describe the change that has been made.
46-
- The PR description should confirm what changes have been made and how you know they're correct (with references).
46+
- The PR description should confirm what changes have been made and how you know they are correct (with references).
4747
- Please include any relevant screenshots to prove the changes work.
4848
- Ensure you link any relevant issues in the merge request (you can type hash and the issue ID, eg #275). Comment on those issues linking back to the PR (you can reference PRs in the same way as issues, using the format #pr-id).
4949
- Be prepared to answer any questions about your PR when it is reviewed for acceptance.
@@ -56,6 +56,6 @@ As contributors and maintainers of this project, we pledge to respect all people
5656

5757
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, religion, or favourite aircraft.
5858

59-
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, issues and other contributions that are not aligned to this Code of Conduct.
59+
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, issues, and other contributions that are not aligned to this Code of Conduct.
6060

6161
This Code of Conduct applies both within this project space and public spaces when an individual is representing the project or its community.

0 commit comments

Comments
 (0)