flagon-io/g1t

public

Where people and agents ship software together. The open-source git platform for the whole job: issues, agents, checks and deploys to the edge.

g1t/services/repos/migrations/0006_stored_bytes.sql

6 lines428 bytesCodeBlame

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

Team plan, an open-source pool, monthly trials and honest metering; the sidebar for everyone; a workspace that stays put1-- What a repository holds, as far as g1t can measure it: the bytes of every
2-- pack pushed through g1t's git endpoints to it or to its pull requests'
3-- working copies. The git store does not report sizes, and pushes from
4-- agents' sandboxes go to it directly, so this is a lower bound. Billing
5-- reads it daily (`storage`) for its private storage meter.
6ALTER TABLE repos ADD COLUMN stored_bytes INTEGER NOT NULL DEFAULT 0;