{"id":31193341,"url":"https://github.com/infinum/infinum_setup","last_synced_at":"2025-09-20T00:34:10.064Z","repository":{"id":54448068,"uuid":"80293236","full_name":"infinum/infinum_setup","owner":"infinum","description":"Setup script","archived":false,"fork":false,"pushed_at":"2025-09-19T11:50:49.000Z","size":74,"stargazers_count":4,"open_issues_count":3,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-19T13:34:41.185Z","etag":null,"topics":["ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/infinum.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-01-28T15:52:54.000Z","updated_at":"2025-09-19T11:50:49.000Z","dependencies_parsed_at":"2025-09-11T08:21:49.441Z","dependency_job_id":"1aad101e-4687-43de-af20-803d49951a2c","html_url":"https://github.com/infinum/infinum_setup","commit_stats":{"total_commits":53,"total_committers":5,"mean_commits":10.6,"dds":0.09433962264150941,"last_synced_commit":"9653cb0d0ffdb9ae023c371dbec780c30a888bcf"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/infinum/infinum_setup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infinum%2Finfinum_setup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infinum%2Finfinum_setup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infinum%2Finfinum_setup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infinum%2Finfinum_setup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/infinum","download_url":"https://codeload.github.com/infinum/infinum_setup/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infinum%2Finfinum_setup/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276022596,"owners_count":25571825,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-19T02:00:09.700Z","response_time":108,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ruby"],"created_at":"2025-09-20T00:33:26.866Z","updated_at":"2025-09-20T00:34:09.967Z","avatar_url":"https://github.com/infinum.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# InfinumSetup\n\nThis script will help you bootstrap your shiny new laptop. If you need help please direct your questions to @stef.\n\nIf you feel there are programs missing please make a PR and I will be happy to merge it!\n\n## Installation\n\nRun the following commands:\n\n    $ sudo xcode-select --install\n    $ sudo gem install infinum_setup\n\n## Usage\n\n    $ infinum_setup\n\nFor a more advanced usage you can use:\n\n    $ infinum_setup --interactive\n\nThis is an interactive mode where you will be asked if you want to install optional programs/packages\n\n    $ infinum_setup --verbose\n\nThis will print out all the commands that are run\n\n## Development\n\nDuring setup two config files are loaded: `general.yml` and `#{team}.yml`. These files are downloaded from the master branch so I do not need to release new gem versions every time we update one of those files :)\n\n### Content of program/#{team}.yml files\n\n``` ruby\n{program_name}:\n  type: brew/cask/gem/npm/script\n  mandatory: true/false\n  install_if_not_interactive: true/false\n  program: {program}\n  pre_install_comment: A comment to print out before installing\n  post_install_comment: A comment to print out after install\n  post_install_command: eg. open the app\n```\n\n### command type\n\nThere are (for now) 5 types of programs with which to install:\n\n- brew =\u003e `brew install {program}`\n- cask =\u003e `brew cask install {program}`\n- gem  =\u003e `gem install {program}`\n- npm  =\u003e `npm -g install {program}`\n- command =\u003e `{script}`\n\n### Valid keys by type\n\nFor brew/cask/gem/npm valid keys are:\n\n* :type\n* :mandatory\n* :install_if_not_interactive\n* :pre_install_comment\n* :post_install_comment\n* :post_install_command\n* :program\n\nFor script/ruby_script valid keys are\n\n* :type\n* :mandatory\n* :install_if_not_interactive\n* :pre_install_comment\n* :post_install_comment\n* :post_install_command\n* :script\n* :custom_install_question\n\n### Mandatory\n\nSet this setting to `true` if you feel like a program must be installed.\nIf `infinum_setup` is run in interactive mode a user will be prompted for each non mandatroy program.\n\n### Install if not interactive\n\nThis will come into effect if a program is not mandatory and the `infinum_setup` is not run in interactive mode. With this setting set to `true` the program will be installed otherwise it will be skipped.\n\n### Pre/post install comment\n\nComments to print out before/after installation.\n\n### Post install command\n\nUse this if you want to run a custom command after installation. Eg. `open /Applications/Alfred\\ 3.app`\n\n### Custom install question\n\nFor most of the types the install question is 'Installing #{program}?', but for scripts you can ask your own custom question.\n\n### Writing your own scripts\n\nYou can use `scripts` folder for writing your own scripts just as I did for ruby.\n\n\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/infinum/infinum_setup. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfinum%2Finfinum_setup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfinum%2Finfinum_setup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfinum%2Finfinum_setup/lists"}