{"action":"closed","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/10149","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/10149/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/10149/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/10149/events","html_url":"https://github.com/fastlane/fastlane/issues/10149","id":252880757,"number":10149,"title":"[HowTo] Plugin usage with Fastfile imported_from_git","user":{"login":"nicolasbraun","id":1089363,"avatar_url":"https://avatars0.githubusercontent.com/u/1089363?v=4","gravatar_id":"","url":"https://api.github.com/users/nicolasbraun","html_url":"https://github.com/nicolasbraun","followers_url":"https://api.github.com/users/nicolasbraun/followers","following_url":"https://api.github.com/users/nicolasbraun/following{/other_user}","gists_url":"https://api.github.com/users/nicolasbraun/gists{/gist_id}","starred_url":"https://api.github.com/users/nicolasbraun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicolasbraun/subscriptions","organizations_url":"https://api.github.com/users/nicolasbraun/orgs","repos_url":"https://api.github.com/users/nicolasbraun/repos","events_url":"https://api.github.com/users/nicolasbraun/events{/privacy}","received_events_url":"https://api.github.com/users/nicolasbraun/received_events","type":"User","site_admin":false},"labels":[{"id":394836387,"url":"https://api.github.com/repos/fastlane/fastlane/labels/status:%20auto-closed","name":"status: auto-closed","color":"ededed","default":false},{"id":389827016,"url":"https://api.github.com/repos/fastlane/fastlane/labels/status:%20waiting-for-reply","name":"status: waiting-for-reply","color":"ededed","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-08-25T12:04:22Z","updated_at":"2017-10-18T12:11:38Z","closed_at":"2017-10-18T12:11:38Z","author_association":"CONTRIBUTOR","body":"### Issue Description\r\n\r\nAs an agency we use a Fastfile hosted on a repository to ensure that all our projects adopt the same process (tags, dSYM upload etc..)\r\nWe use git tags to ensure project do not break when we break compatibility in this Fastfile.\r\nThis Fastfile include the `update_fastlane` action to ensure everyone (ppl and ci-server) are on the latest.\r\n\r\nSince the introduction of the plugin system I am wondering how to use it with this setup.\r\nExemple of a situation:\r\n\r\n- One of our lane uses the `badge` action\r\n- It is now deprecated in favor of the the plugin\r\n- I do not want to have to modify the PluginFile in all my projects. I need some way to have a shared Pluginfile (same issue with Gemfile) for all projects, the same way I share a Fastfile.\r\n\r\n**Explored solutions**\r\nIn Jenkins I could have a build step cloning one Pluginfile from a distant repo and installing the dependencies before running fastlane but it would not work for ppl localy using fastlane therefore I am not happy with this solution.\r\n\r\nI could also have a step in the Fastfile `before_all` to download those files and run `bundle install` but I am not sure how the system will react if gems are installed during the Fastlane process (a little bit like fastlane need to restart herself after `fastlane_update`\r\n\r\nI am happy to discuss this on Slack if the need is unclear.\r\nNicolas\r\n\r\nPS: Also since our goal is to have the same process no matter the project we do not invoke Fastlane using `bundle exec` but directly calling the fastlane gem which has to be up-to-date "}}
{"actor":{"display_login":"fastlane-bot"}}