gitmap
بواسطة 14-tr
Web & Frontend Developmentموجز
Version control for ArcGIS web maps — exposed as native OpenClaw tools.
الوصف
ما الذي تفعله هذه المهارة
GitMap wraps the `gitmap` CLI to expose Git-like version control for ArcGIS web maps as callable tools. It covers branch, commit, diff, push/pull, and map discovery against ArcGIS Online and Enterprise Portal. No local database is required.
ArcGIS Online has no native version history for web maps; GitMap adds branching, diffing, and commit history without requiring a local database.
متى تستخدمها
- Tracking layer symbology changes before publishing to Portal
- Creating feature branches for experimental basemap updates
- Reviewing commit history of a shared team web map
- Syncing local map edits back to ArcGIS Online
- Discovering and filtering web maps owned by a specific user
مثال على سير العمل
User asks: Commit my current web map edits and push them to Portal
- 1
Calls gitmap_status to show what changed in the local repo
- 2
Calls gitmap_commit with the user's message to snapshot the current map state
- 3
Calls gitmap_push to sync committed changes to ArcGIS Portal
Status summary, commit hash confirmation, and push result indicating the map is up to date on Portal
المتطلبات
- gitmap-core Python package (pip install gitmap-core)
- ArcGIS Online or Enterprise Portal account
- PORTAL_URL environment variable
- ARCGIS_USERNAME environment variable
- ARCGIS_PASSWORD environment variable (scoped API token preferred)
التثبيت
clawhub install 14-tr/gitmapشغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.