photon-import

Clone or update the vmware/photon repository and import commit history into SQLite.

6|1|Updated Sep 5, 2019
One-click install
npx skills add https://github.com/dcasota/photonos-scripts --skill photon-import
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: photon-import
Source: https://github.com/dcasota/photonos-scripts/tree/main/docsystem/.factory/skills/photon-import
Command: npx skills add https://github.com/dcasota/photonos-scripts --skill photon-import

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of fetching and storing commit history for the VMware Photon OS repository, ensuring that local data is up-to-date for analysis.

Core Features & Use Cases

  • Repository Synchronization: Clones or updates the vmware/photon repository locally.
  • Commit History Import: Imports commit data for specified branches (e.g., 3.0, 4.0, 5.0, 6.0, common, master) into an SQLite database.
  • Data Refresh: Updates the photon_commits.db database when it's missing, stale, or upon user request.

Quick Start

Use the photon-import skill to update the local photon commit database with the latest changes.

Frequently Asked Questions about photon-import

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I import Photon OS commit history into a local SQLite database?

To import Photon OS commit history into a local SQLite database, use this skill to clone or update the vmware/photon repository and extract commit data for specified branches into photon_commits.db.

What prerequisites do I need to clone the vmware/photon repository for data analysis?

You need git, Python 3.9+, sqlite3, and tqdm installed to clone the vmware/photon repository and import branch commit data into a local SQLite database for analysis.

Can I refresh stale commit data for specific Photon OS branches like 3.0 or 4.0?

Yes, you can refresh stale commit data for Photon OS branches like 3.0, 4.0, 5.0, 6.0, common, and master by updating the local SQLite database when fresh repository data is needed.

Why does importing git commit history require accessing github.com?

Importing git commit history requires accessing github.com to clone or update the remote vmware/photon repository and extract the latest branch commit data into the local SQLite database.

When do I need to update my local photon commit database?

You need to update your local photon commit database when the data is missing, stale, or a data refresh is requested to ensure local analysis uses the latest vmware/photon repository changes.