Giter VIP home page Giter VIP logo

Comments (15)

pineray avatar pineray commented on May 30, 2024

これに限らずテストもなんですけど、せっかくGitになったので、
コアに直接関係ない部分は別レポジトリにしませんか?
そのうえで、どうしてもコアと同じく管理したい場合は
サブモジュール等を利用してみてはいかがでしょう。

from ec-cube.

nanasess avatar nanasess commented on May 30, 2024

@pineray ありがとうございます。
Vagrantfile はリポジトリ直下に置かなくてはならないと思うので、良いレイアウトが思い浮びませんでした。
運用方針は株式会社ロックオンさんに従いますので、効率的なリポジトリレイアウトの案などありましたらご教授くださいませ!

from ec-cube.

Yangsin avatar Yangsin commented on May 30, 2024

@nanasess @pineray ありがとうございます。
Vagranためしてみましたが、環境面は人によって好みが分かれるところなので
便利ではあるのですが、別で管理として、Wikiなどで、nanasessさんのリポジトリを参照しておくなどでも十分かと思ってます。
一方で、テストコードは、ソースとがっつり紐づくものなので、サブモジュールにわける必要はなく、このリポジトリに含めておくで良いとおもってます。
CI用の設定ファイルが、ちょっと悩むところですが、当面は便宜上置いておきたいと思ってます。

from ec-cube.

Yangsin avatar Yangsin commented on May 30, 2024

リポジトリレイアウトも検討しつつ。
このIssueはクローズしますね。

from ec-cube.

shinichi-takahashi avatar shinichi-takahashi commented on May 30, 2024

本件、submoduleとしてVagrantfileを同梱するのとを検討するため、再度開きました

from ec-cube.

nanasess avatar nanasess commented on May 30, 2024

cookbook も submodule にしたいです

from ec-cube.

Yangsin avatar Yangsin commented on May 30, 2024

CookbookまでSubmodule化すると、Cookbook側の変更でVagrantが動かなくなりChef等でになれない方は戸惑うとおもうので、まずは、Cookbookは取り込んでいる状態の以下のリポジトリをSubmoduleとして追加する方向です進めます。

https://github.com/poego/vagrant-centos6-eccube

from ec-cube.

nanasess avatar nanasess commented on May 30, 2024

CookbookまでSubmodule化すると、Cookbook側の変更でVagrantが動かなくなりChef等でになれない方は戸惑うとおもうので、

submodule で参照しているディレクトリもコミットしておけば、予期せぬ変更を勝手に取り込んで、動かなくなることは無いです
http://qiita.com/sotarok/items/0d525e568a6088f6f6bb

from ec-cube.

nanasess avatar nanasess commented on May 30, 2024
config.omnibus.chef_version = :latest

これはバージョン指定しておいた方が無難かなと思います

from ec-cube.

nanasess avatar nanasess commented on May 30, 2024

あと、 個人のリポジトリではなく、 github.com/EC-CUBE 以下にリポジトリを作りませんか?
その方がチームで作業しやすいかなと。

from ec-cube.

shinichi-takahashi avatar shinichi-takahashi commented on May 30, 2024

PR!!PR!!!!

from ec-cube.

shinichi-takahashi avatar shinichi-takahashi commented on May 30, 2024

あ、リポジトリかorz
失礼いたしました。

from ec-cube.

Yangsin avatar Yangsin commented on May 30, 2024

@nanasess さん
https://github.com/EC-CUBE/eccube-vagrant
として用意してみましたので、思われているところをPRいただいてもよろしいでしょうか。

Vagrant側のリポジトリのイメージが固まったら改めて本体にPRしたいとおもうので、先のPRは一度クローズしました。

config.omnibus.chef_version = :latest

は、確かにバージョン決めたほうがよさそうですね。
今のところ最新の12.2.1で動作確認されてます。

from ec-cube.

nanasess avatar nanasess commented on May 30, 2024

👍

from ec-cube.

nanasess avatar nanasess commented on May 30, 2024

EC-CUBE/eccube-vagrant で改善を進めているためクローズします

from ec-cube.

Related Issues (20)

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.