-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automations: Non-UK airfield AIRAC sector file update #881
Comments
This comment has been minimized.
This comment has been minimized.
The filename of the other sct files does not start with "UK_" ( uk-controller-pack/workflows/airac/auto_airac_actions.py Lines 197 to 200 in 873c46b
|
@kristiankunc I'm speaking from guesswork as I haven't actually run that script, but are you not looking at the wrong bit there (searching for the SCT in the SF release artifact)? I believe the script just does a blanket search for any profile containing |
@19wintersp Just tried running the script without any problems (main @ 873c46b) Logs
|
@kristiankunc :trout: The action was run in 873c46b so the script evidently wouldn't do anything there if run again on it (SF is already up-to-date etc.); this example done detached at d85e146. Easy fix as follows: - content = re.sub(r"^Settings\tsector\t(.*)", sf_replace, line)
+ content = re.sub(r"^Settings\tsector\t.*UK.+", sf_replace, line) |
In your log the script has detected the Akrotiri.prf. As this profile doesn't use the UK sector file, we want it to be ignored.
It's kinda jank, but it's not stupid if it works. |
What is the bug?
Auto AIRAC action script updates airfields such as Akrotiri to use latest UK Sector file.
How to reproduce?
Run workflow
Additional context
Overseas airfields that don't use the UK sector file need to be excluded from the GitHub action
The text was updated successfully, but these errors were encountered: