Lewati ke konten utama

Development Pipeline

Development Pipeline

Stable

Koordinasikan review pesan commit, local commit, dan push branch tanpa persiapan rilis.

Commandcusty run dev

Category

Pipeline Profile

Quick Command

custy run dev [OPTIONS]

daily developmentcommitpush

Ringkasan​

Dev adalah daily-development profile yang disengaja. Profile ini memvalidasi dan meninjau pesan commit, melakukan stage, membuat commit, lalu mendorong branch HEAD. Dev tidak menyiapkan release state, membuat release artifacts atau changelog, membuat tag, atau mendorong tag.

Preview before normal execution
bash
custy --dry-run run dev
custy run dev

Exact Phase Flow

Dev Profile

1
Validate repository
Pastikan execution berada dalam Git repository.
completed
2
Validate commit and remote inputs
Resolve commit validator, hook policy, commit-message file, dan remote.
completed
3
Review commit message
Buka hanya commit-message file dan validasi content yang disimpan.
completed
4
Back up and clean
Backup commit-message file dan terapkan backup retention cleanup.
completed
5
Stage and commit
Stage resolved project changes dan buat local commit.
completed
6
Push
Push branch HEAD ke resolved remotes tanpa memublikasikan tag.
current

Exact Dev Step Order

Internal name ditampilkan agar users dan contributors dapat mencocokkan documentation dengan logs dan source.

01 — ensure_git_repo_stepPastikan execution berada dalam Git repository.
02 — ensure_commit_validation_provider_stepResolve configured commit-message validator.
03 — ensure_commit_hook_policy_stepResolve configured commit-hook policy.
04 — ensure_commit_message_file_stepResolve commit-message file.
05 — ensure_commit_message_file_exists_stepPastikan commit-message file tersedia sebelum editing.
06 — ensure_remote_exists_stepValidasi resolved push destination.
07 — edit_files_stepBuka hanya commit-message file untuk review dan editing.
08 — validate_edited_stepValidasi reviewed commit message.
09 — backup_commit_message_files_stepBackup commit-message file.
10 — cleanup_backup_stepTerapkan configured backup retention cleanup.
11 — stage_stepStage files yang dipilih workflow.
12 — commit_stepBuat local development commit.
13 — push_stepPush branch HEAD tanpa mendorong tag.


Before You Run

Before You Begin

  • Review repository stateRequired

    Konfirmasi current branch dan pastikan unrelated work tidak ikut di-stage.

  • Check commit pathRequired

    Verifikasi configured commit-message file dan reviewed content.

  • Confirm the destinationRequired

    Tinjau default atau selected remotes karena push merupakan bagian Dev.

  • Use dry-run firstRequired

    Periksa planned mutations dan remote operations sebelum normal run.

  • Review the resultRequired

    Periksa diff, commit, dan remote branch setelah selesai.


Failure dan Retry

Jika Dev gagal sebelum commit, periksa edited message, backups, dan Git index. Jika gagal saat atau setelah push, verifikasi apakah local commit dan remote updates sudah selesai. Jangan menjalankan ulang seluruh profile sampai state tersebut dipahami.


Lanjutkan