トップ(最新)

nDiki : アーカイブファイル名

アーカイブファイル名

アーカイブファイル名のつけかた: GNU Coding Standards の場合

GNU coding standards (April 29, 2003.) Making Releases より。

You should identify each release with a pair of version numbers, a major version and a minor. We have no objection to using more than two numbers, but it is very unlikely that you really need them.

Package the distribution of `Foo version 69.96' up in a gzipped tar file with the name `foo-69.96.tar.gz'. It should unpack into a subdirectory named `foo-69.96'.

foo バージョン 69.96 なら foo-96.96.tar.gz というファイル名にする。

アーカイブファイル名のつけかた: Software Release Practice HOWTO (Eric Steven Raymond, Revision 3.4) の場合

  1. project prefix
  2. dash
  3. version number
  4. dot
  5. "src" or "bin" (optional)
  6. dot or dash (dot preferred)
  7. binary type and options (optional)
  8. archiving and compression extensions

使うべきではないとしているパターン例としては以下が挙げられている。

  • プロジェクト名とバージョン番号の区別に誤解が生じる:
    • foobar123.tar.gz
    • foobar1.2.3
    • foobar-v1.2.3.tar.gz
  • 読みにくい。覚えにくい。
    • foo_bar-1.2.3.tar.gz
    • FooBar-1.2.3.tar.gz

アンダースコアを区切り文字にするのもやめた方が良いとしている。

スポンサード リンク

Related term

no diary

この日記のはてなブックマーク数 Add to Google RSS

Process Time: 0.197124s / load averages: 0.20, 0.25, 0.20
nDiki by WATANABE Yoshimasa (profile)
Powered by DiKicker
Base theme by Nana (for tDiary)