Coder Social home page Coder Social logo

circleci-bundle-update-pr's People

Contributors

5t111111 avatar dependabot[bot] avatar deppbot avatar flada-auxv avatar fukayatsu avatar hanachin avatar hshimoyama avatar htwroclau avatar komiyamast avatar masutaka avatar motsat avatar nerixim avatar pipopotamasu avatar sakuro avatar sue445 avatar tsub avatar walf443 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

circleci-bundle-update-pr's Issues

circleci-bundle-update-prを柔軟なコマンドにする

この話。

http://masutaka.net/chalow/2015-08-30-1.html

Chef Client も https://docs.chef.io/install_omnibus.html の方法で
インストールしています。バージョンを指定しているのは、Gemfile.lock
の chef とバージョンを合わせやすくするためです。今後、自動 bundle
update の時に Dockerfile も自動更新させる予定です。

今は circleci-bundle-update-pr で bundle update から git commit, git ブランチ作成、git push、PR 作成まで全部やっているため、この途中で Docker ファイルを修正して commit するのが難しい。

  • ブランチ名がわからない
  • 2 回 push することになるため、CI が 2 回実行され地球環境にやさしくない

circleci-bundle-update-pr にオプションを付けるなどして、柔軟なコマンドにする。
今までの使い方を変更しないことは大前提。

Users can append optional note

e.g;

User adds .bundle_update/note.md

## Notice

* example1
* example2

PR description created by this gem

**Updated RubyGems:**

* [ ] [octokit](https://github.com/octokit/octokit.rb): [`4.9.0...4.10.0`](https://github.com/octokit/octokit.rb/compare/v4.9.0...v4.10.0)
* [ ] [public_suffix](https://github.com/weppos/publicsuffix-ruby): [`3.0.2...3.0.3`](https://github.com/weppos/publicsuffix-ruby/compare/v3.0.2...v3.0.3)
* [ ] rspec: (link not found) `3.7.0...3.8.0`
* [ ] [rspec-core](https://github.com/rspec/rspec-core): [`3.7.1...3.8.0`](https://github.com/rspec/rspec-core/compare/v3.7.1...v3.8.0)
* [ ] [rspec-expectations](https://github.com/rspec/rspec-expectations): [`3.7.0...3.8.1`](https://github.com/rspec/rspec-expectations/compare/v3.7.0...v3.8.1)
* [ ] [rspec-mocks](https://github.com/rspec/rspec-mocks): [`3.7.0...3.8.0`](https://github.com/rspec/rspec-mocks/compare/v3.7.0...v3.8.0)
* [ ] [rspec-support](https://github.com/rspec/rspec-support): [`3.7.1...3.8.0`](https://github.com/rspec/rspec-support/compare/v3.7.1...v3.8.0)

Powered by [circleci-bundle-update-pr](https://rubygems.org/gems/circleci-bundle-update-pr)

---

## Notice

* example1
* example2

An `can't modify frozen String (FrozenError)` error occurred

The following error occurred in $ circleci-bundle-update-pr hoge [email protected] $CIRCLE_BRANCH command with circleci-bundle-update-pr v1.15.0 and Ruby v2.5.3.

Traceback (most recent call last):
	4: from /usr/local/bundle/bin/circleci-bundle-update-pr:23:in `<main>'
	3: from /usr/local/bundle/bin/circleci-bundle-update-pr:23:in `load'
	2: from /usr/local/bundle/gems/circleci-bundle-update-pr-1.15.0/bin/circleci-bundle-update-pr:15:in `<top (required)>'
	1: from /usr/local/bundle/gems/circleci-bundle-update-pr-1.15.0/lib/circleci/bundle/update/pr.rb:37:in `create_if_needed'
/usr/local/bundle/gems/circleci-bundle-update-pr-1.15.0/lib/circleci/bundle/update/pr.rb:147:in `update_pull_request_body': can't modify frozen String (FrozenError)
Exited with code 1

You may have degraded it with the following commit: 4f1409c

Use Gemfile.lock path for commit

Hello, and thanks for your work.

I have a project which has a Gemfile.lock in a non-root folder (src/xxx/Gemfile.lock). I can change the working directory before running the script but it still commits to the root dir.

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.