Skip to content

py27 github pages の作成 #762

Closed
Closed
@methane

Description

@methane

py35 の方は cron 仕込みました。 (まだこれから初回の実行が走るまで完成したとは言えません)

python.jp で実行しているタスクは以下のとおりです。

$ crontab -l
...
7 1-23/4 * * * ~/.local/bin/nightly
57 1-23/4 * * * ~/.local/bin/nightly2

# transifex から py35-locale に取り込み
$ cat nightly
#!/bin/bash

export PATH=$HOME/.local/bin:$PATH

set -Ceux

cd ~/work/py35-locale
git pull
tx pull -lja
git commit -av -m "auto commit"
git push origin master

# github pages から nginx のドキュメントの更新
$ cat nightly2
#!/bin/bash
set -Ceux
export PATH=$HOME/.local/bin:$PATH

cd /var/www/html/doc/3.5
git pull

これ以外はすべて Travis へ移行しました。 (cron も Travis のベータ機能があるのですが、まだ1日1回しか動かせないので)

同じ仕組みが 2.7 でも動くように、 @cocoatomo さんに py27 の整備をお願いしてもいいでしょうか?

  • py27-locale 単体で tx pull が出来るように、 .tx/config を cpython-intl から py27-locale に移動する。(設定ファイル内の相対パスの一括置換が必要)
  • py27 という名前のリポジトリを作って github pages にする。(ルートディレクトリに .nojekyll というファイルが必要)
  • py27-locale の push で Travis が動くように、 Travis と .travis.yml の設定。 (py27 に push するために、TOKEN作って travis encrypt で暗号化しています)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions