このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
|
packagist:knowledge [2020/07/17 14:51] y2sunlight [パッケージのバージョン管理] |
packagist:knowledge [2020/07/17 16:14] (現在) y2sunlight [更新スケジュール] |
||
|---|---|---|---|
| 行 1: | 行 1: | ||
| - | > 編集中 | ||
| - | |||
| ====== Packagist パッケージ登録の基礎知識 ====== | ====== Packagist パッケージ登録の基礎知識 ====== | ||
| --- // | --- // | ||
| 行 64: | 行 62: | ||
| v2.0.4-p1 | v2.0.4-p1 | ||
| </ | </ | ||
| - | |||
| - | Branches will automatically appear as " | ||
| - | |||
| ブランチは自動的に " | ブランチは自動的に " | ||
| 行 77: | 行 72: | ||
| ===== composer.jsonの作成 ===== | ===== composer.jsonの作成 ===== | ||
| - | The composer.json | + | composer.json |
| - | A typical | + | 典型的な |
| <code json> | <code json> | ||
| 行 108: | 行 103: | ||
| </ | </ | ||
| - | Most of this information is obvious, | + | この情報のほとんどは明白で、キーワード( '' |
| - | Once you have this file committed in your repository root, you can [[https:// | + | このファイルをリポジトリのルートでコミットしたら、パブリックリポジトリのURLを入力してパッケージを Packagist に[[https:// |
| \\ | \\ | ||
| - | ===== スケジュールの更新 | + | ===== 更新スケジュール ===== |
| New packages will be crawled immediately after submission if you have JS enabled. | New packages will be crawled immediately after submission if you have JS enabled. | ||
| - | Existing packages without auto-updating (GitHub/ | + | JSを有効にしている場合、新しいパッケージは、送信後、即座にクロールされます。 |
| + | |||
| + | 自動更新(GitHub / BitBucketフック)のない既存のパッケージは、更新のために週に1回クロールされます。フックを有効にすると、プッシュするたびに、パッケージがクロールされ、また、クロールが失敗した場合は少なくとも月に1回はクロールされます。保守担当者としてログインしている場合は、パッケージ画面で手動更新をトリガーすることもできます。 | ||
| + | |||
| + | すべてのパッケージに GitHubまたはBitBucketのサービスフックを設定することを強くお勧めします。これにより、負荷が軽減され、パッケージがほぼ瞬時に更新されます。以下のハウツーを確認してください。 | ||
| + | |||
| + | * https:// | ||
| - | It is highly recommended to set up the GitHub/BitBucket service hook for all your packages. This reduces the load on our side, and ensures your package is updated almost instantly. Check the how-to below. | + | <div indent>< |
| + | GitHubの場合は、本編の「Packagist アカウントの作成」内の「[[packagist: | ||
| + | </ | ||
| - | The search index is updated every five minutes. It will index (or reindex) any package that has been crawled since the last time the search indexer ran. | + | 検索インデックスは5分ごとに更新されます。検索インデクサーが最後に実行されてからクロールされたパッケージがインデックス(または再インデックス)されます。(※即ち、クロールされて(自動更新の場合はプッシュとほぼ同時刻)から最大で5分以内の再インデックスされるという事) |
| \\ | \\ | ||