Ground Sunlight

Windowsで作る - PHPプログラミングの開発環境

ユーザ用ツール

サイト用ツール


packagist:knowledge

差分

このページの2つのバージョン間の差分を表示します。

この比較画面にリンクする

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
次のリビジョン 両方とも次のリビジョン
packagist:knowledge [2020/07/17 11:51]
y2sunlight [パッケージのネーミング]
packagist:knowledge [2020/07/17 14:51]
y2sunlight [パッケージのバージョン管理]
行 48: 行 48:
 \\ \\
  
-===== パッケージのバージョン管理する =====+===== パッケージのバージョン管理 =====
  
-New versions of your package are automatically fetched from tags you create in your VCS repository.+パッケージの新しいバージョンは、バージョン管理システムのリポジトリに作成したタグから自動的にフェッチされます。
  
-The easiest way to manage versioning is to just omit the version field from the composer.json file. The version numbers will then be parsed from the tag and branch names.+バージョニングを管理する最も簡単な方法は、composer.json ファイルからバージョンフィールド( ''version'' )を省略することです。 その後は、バージョン番号はタグとブランチ名から解析されます。
  
-Tag/version names should match 'X.Y.Z', or 'vX.Y.Z', with an optional suffix for RC, beta, alpha or patch versions. Here are a few examples of valid tag names:+タグ/バージョン名は ''X.Y.Z'' または ''vX.Y.Z'' と一致する必要があり、RC, beta, alpha または patch バージョンのオプションのサフィックスが付いています。次に、有効なタグ名の例をいくつか示します:
  
 <code> <code>
行 64: 行 64:
 v2.0.4-p1 v2.0.4-p1
 </code> </code>
 +
 +Branches will automatically appear as "dev" versions that are easily installable by anyone that wants to try your library's latest and greatest, but that does not mean you should not tag releases. The use of [[https://semver.org/lang/ja/|Semantic Versioning]] is strongly encouraged.
 +
 +
 +ブランチは自動的に "dev" バージョンとして表示され、ライブラリの最新かつ最高のものを試してみたい人なら誰でも簡単にインストールできますが、リリースにタグを付けてはいけないという意味ではありません。[[https://semver.org/lang/ja/|セマンティックバージョニング]]の使用を強くお勧めします。
 +
 +> 例えば、''dev-master'' は masterブランチの最新バージョンを表します。
  
 \\ \\
行 104: 行 111:
  
 Once you have this file committed in your repository root, you can [[https://packagist.org/packages/submit|submit the package]] to Packagist by entering the public repository URL. Once you have this file committed in your repository root, you can [[https://packagist.org/packages/submit|submit the package]] to Packagist by entering the public repository URL.
 +
 +\\
 +
 +===== スケジュールの更新 =====
 +
 +New packages will be crawled immediately after submission if you have JS enabled.
 +
 +Existing packages without auto-updating (GitHub/BitBucket hook) will be crawled once a week for updates. When a hook is enabled packages are crawled whenever you push, or at least once a month in case the crawl failed. You can also trigger a manual update on your package page if you are logged-in as a maintainer.
 +
 +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.
 +
 +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.
  
 \\ \\
  
  
packagist/knowledge.txt · 最終更新: 2020/07/17 16:14 by y2sunlight