Coder Social home page Coder Social logo

ios-osushi / release-subscriptions Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 2.0 1.43 MB

GitHub 上のリポジトリのリリース情報を定期的に自動で取得し、Slack へ通知するツール

License: MIT License

Swift 100.00%
github ios-osushi releases slack

release-subscriptions's People

Contributors

github-actions[bot] avatar kaitomuraoka avatar ry-itto avatar treastrain avatar uhooi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

release-subscriptions's Issues

購読リストのバリデーション失敗時にPRへコメントしてほしい

単体テストの testYamlSortOrderChecking() で購読リストのバリデーション(ソート順が正しいかどうか)を実行している。
単体テストの失敗時に原因や対応をわかりやすくするため、PR にコメントするようにしたい。
Danger のようなツールを導入しなくても、既存のワークフローにステップを追加するだけで実現できそう。

CLIツールと購読リストを切り離したい

現状だと CLI ツールと購読リスト( ReleaseSubscriptions.yml )・ワークフローがひとつのリポジトリで管理されている。
CLI ツールを使い回せるようにするため、購読リストやワークフローを別リポジトリで管理したい。
購読リストのパスを渡すオプションを付ける必要があるかも。

この CLI ツールが優秀過ぎるから、Android のリリース情報とかも通知したいという欲があるw

購読しているリポジトリを表形式で閲覧したい

概要

現状だと購読しているリポジトリを YAML で管理しているため、行数がかさばって俯瞰しにくい。
表形式で記述して俯瞰しやすくしたい。

YAML でなく Swift ファイルで管理する。
移植性は下がるが、直接操作できるメリットもある。

Before

repositories:
  - kind: primary
    case: releases
    name: Swift
    owner: apple
    repo: swift
  
  - kind: primary
    case: releases
    name: Swift Algorithms
    owner: apple
    repo: swift-algorithms

After

let repositories: Repository = [
    (.primary, .releases, "Swift", "apple", "swift"),
    (.primary, .releases, "Swift Algorithms", "apple", "swift-algorithms"),
]

表形式とまでは呼べないが、YAML よりは俯瞰しやすい。

DifferenceComparatorとFileHelperを並列実行する

FetcherSlackNotifier は並列化できているのに対し、 DifferenceComparatorFileHelper は並列化できていない。
量的に並列実行しても実行時間が大幅に短縮するわけではなさそうだが、やってもよさそう。

`swiftlang` Org への更新

apple Org 傘下の一部の Swift プロジェクトリポジトリが swiftlang Org 傘下へと移行することに伴って、ReleaseSubscriptions.yml もそれに追従する。ただ、しばらくは GitHub 側のリダイレクトによって耐えられるだろう。

swiftlang Org 傘下への移行スケジュールは以下の通り:

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.