Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/scripts/update_availprofiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,10 @@ def get_airports():
if os.path.exists(avail_profiles_path):
with open(avail_profiles_path, "r") as f:
data = json.load(f)
logging.info(f"Loaded {len(data)} existing profiles from AvailProfiles.json")
else:
data = []
logging.info("AvailProfiles.json not found, starting with empty list")

# Create a mapping of existing profiles by folder name for quick lookup
existing_profiles = {profile["Folder"]: profile for profile in data}
Expand All @@ -53,7 +55,8 @@ def get_airports():
changes_made = False

# Process each airport directory
for root, dirs, _ in os.walk(airports_dir):
logging.info(f"Scanning {airports_dir} for airport profiles...")
for root, dirs, files in os.walk(airports_dir):
for dir_name in dirs:
profile_path = os.path.join(root, dir_name)
profile_json_path = os.path.join(profile_path, "profile.json")
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/update_availprofiles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ jobs:
with:
token: ${{ secrets.GITHUB_TOKEN }}
ref: ${{ github.head_ref }}
fetch-depth: 0 # Ensure we get the full history

- name: Set up Python
uses: actions/setup-python@v5.3.0
Expand All @@ -30,6 +31,20 @@ jobs:
- name: Install dependencies
run: pip install jq

- name: Debug environment
run: |
echo "Current directory: $(pwd)"
echo "Repository contents:"
ls -la
echo "Airports directory contents:"
ls -la Airports/ || echo "Airports directory not found"
echo "AvailProfiles.json exists:"
ls -la AvailProfiles.json || echo "AvailProfiles.json not found"
echo "Git status:"
git status
echo "Changed files in this PR:"
git diff --name-only HEAD~1 HEAD || echo "No changes detected"

- name: Update AvailProfiles.json
run: python .github/scripts/update_availprofiles.py

Expand Down
12 changes: 12 additions & 0 deletions Airports/EGBB (Pyreegue)/Information.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!--- Licensed Under: CC BY-NC 4.0 --->

Pyreegue EGBB 🐐
Available from these retailers: [Contrail.shop](https://contrail.shop/products/pyreegue-egbb-birmingham-airport-msfs-2020-2024?_pos=1&_sid=b06674ea9&_ss=r)
## Features:
- Custom Vehicle Positioning on all stands
- Walk-in gates
- Accurate Custom Pushbacks
- Accurate Ground Handling Agents
- Fixed Jetway Floor Heights

Special thanks to Krake802 and several community members that reached out to help support. ❤️
Loading
Loading