Review of changes made from 0.9.1 (clean) to current#220
Review of changes made from 0.9.1 (clean) to current#220jmarrec wants to merge 25 commits intoclean_masterfrom
Conversation
…ove unnecessary comments
update copyright year in LICENSE file
* update copyright year in LICENSE file * Update version to 0.9.2, enhance changelog, and improve code formatting * Refactor gemspec to define version within OpenStudio::Extension module * Refactor Gemfile and gemspec to improve dependency management and remove unnecessary comments * Update changelog, fix rubocop offenses, and enhance gemspec for version management
…ce from Gemfile (#207)
* Update version to 0.9.2, enhance changelog, and improve code formatting * Refactor Gemfile and gemspec to improve dependency management and remove unnecessary comments * Update changelog, fix rubocop offenses, and enhance gemspec for version management
* Update version to 0.9.2, enhance changelog, and improve code formatting * Refactor Gemfile and gemspec to improve dependency management and remove unnecessary comments * Update changelog, fix rubocop offenses, and enhance gemspec for version management
* Update version to 0.9.2, enhance changelog, and improve code formatting * Refactor gemspec to define version within OpenStudio::Extension module * Refactor Gemfile and gemspec to improve dependency management and remove unnecessary comments * Update changelog, fix rubocop offenses, and enhance gemspec for version management * Remove comment about circular dependency in gemspec
Update CHANGELOG.md
* Feature/version 0.9.2 updates (#206) * update copyright year in LICENSE file * Update version to 0.9.2, enhance changelog, and improve code formatting * Refactor gemspec to define version within OpenStudio::Extension module * Refactor Gemfile and gemspec to improve dependency management and remove unnecessary comments * Update changelog, fix rubocop offenses, and enhance gemspec for version management * Bump version to 0.9.3, update changelog, and remove rubocop-performance from Gemfile (#207) * Merge conflicts resolved (#210) * Update version to 0.9.2, enhance changelog, and improve code formatting * Refactor Gemfile and gemspec to improve dependency management and remove unnecessary comments * Update changelog, fix rubocop offenses, and enhance gemspec for version management * Add local develop commits (#211) * Update version to 0.9.2, enhance changelog, and improve code formatting * Refactor Gemfile and gemspec to improve dependency management and remove unnecessary comments * Update changelog, fix rubocop offenses, and enhance gemspec for version management * Version management and cleanup improvements (#212) * Update version to 0.9.2, enhance changelog, and improve code formatting * Refactor gemspec to define version within OpenStudio::Extension module * Refactor Gemfile and gemspec to improve dependency management and remove unnecessary comments * Update changelog, fix rubocop offenses, and enhance gemspec for version management * Remove comment about circular dependency in gemspec * Update CHANGELOG.md --------- Co-authored-by: Katherine Fleming <2205659+kflemin@users.noreply.github.com>
modify runner to install gems only - no updates
Version 0.9.4
* Bump version to 0.9.5 and prepare release - Update version to 0.9.5 - Update CHANGELOG.md and README.md - Add rubocop-performance to gemspec * prep version 0.9.4 * fix: update rubygems source to HTTPS and add gemspec file listing fallback. --------- Co-authored-by: Katherine Fleming <2205659+kflemin@users.noreply.github.com> Co-authored-by: Assistant Bot <assistant@example.com>
openstudio-extension.gemspec
Outdated
| files = `git ls-files -z`.split("\x0") | ||
| if files.empty? | ||
| files = Dir.glob('**/*', File::FNM_DOTMATCH).select do |f| | ||
| File.file?(f) && !f.match(%r{^(\.git|\.bundle|pkg|coverage|doc|_yardoc|\.yardoc)/}) && !f.match(%r{^Gemfile\.lock$}) | ||
| end | ||
| end | ||
| spec.files = files.reject do |f| |
There was a problem hiding this comment.
was something not working before?
There was a problem hiding this comment.
I don't remember any specific reason for this change and upon further review I'm in favor of reverting it back.
openstudio-extension.gemspec
Outdated
| spec.add_dependency 'addressable', '>= 2.8.1' | ||
| spec.add_dependency 'parallel', '~> 1.19.1' | ||
| spec.add_dependency 'regexp_parser', '2.9.0' | ||
| spec.add_dependency 'addressable', '2.8.1' | ||
| spec.add_dependency 'regexp_parser', '>= 2.9.0' |
There was a problem hiding this comment.
@anchapin, as mentioned before these dependencies are VERY tricky and should not be updated without considering the implications across the openstudio, openstudio measure gems, and urbanopt gems ecosystems. Let me know if you have any questions before making dependency changes. I agree with @jmarrec, please revert.
openstudio-extension.gemspec
Outdated
| spec.add_development_dependency 'rubocop', '1.50' | ||
| spec.add_development_dependency 'rspec', '~> 3.9' | ||
| spec.add_development_dependency 'rubocop', '>= 1.50.0' | ||
| spec.add_development_dependency 'rubocop-performance' |
There was a problem hiding this comment.
We guess is that we do not, or at least don't need to.
There was a problem hiding this comment.
I don't have a preference but it seems like removing it is likely best.
There was a problem hiding this comment.
Haha, oh rubocop! Rubocop related dependencies are ok as "DEVELOPMENT" dependency only. Please don't add them as "regular" dependencies. thanks!
| # KAF: we are no longer updating dependencies here; we are installing instead. If a user already has their | ||
| # gems installed, it shouldn't download anything new and should save us from some unwanted dependency updates | ||
| run_command('bundle install', get_clean_env) |
| require 'open3' | ||
| require 'openstudio' | ||
| require 'yaml' | ||
| require 'fileutils' |
There was a problem hiding this comment.
Ok, fileutils is already required on Line 7
| attr_accessor :name, :measures_dir, :core_dir, :doc_templates_dir, :files_dir | ||
|
|
||
| def initialize(*args, &task_block) | ||
| super |
There was a problem hiding this comment.
dunno if that's wanted or not. Did rubocop do that?
There was a problem hiding this comment.
I can't remember if that was from rubocop or not, but I researched it now and it isn't needed since calling super just calls Ruby's default empty initializer.
There was a problem hiding this comment.
| ## Version 0.9.5 | ||
| * Updated to OpenStudio 3.11 and relaxed dependencies |
There was a problem hiding this comment.
and re-added rubocop-performance apparently
| source 'http://rubygems.org' | ||
|
|
||
| # Specify your gem's dependencies in openstudio-extension.gemspec | ||
| source 'https://rubygems.org' |
There was a problem hiding this comment.
Well, so I don't know if this is good or not. I have no issue.
See this commit 7 years ago: 761524f
Dan at the time wrote:
Https source does not work for me even on dev vpn
* Bump version to 0.9.5 and prepare release (#217) * Bump version to 0.9.5 and prepare release - Update version to 0.9.5 - Update CHANGELOG.md and README.md - Add rubocop-performance to gemspec * prep version 0.9.4 * fix: update rubygems source to HTTPS and add gemspec file listing fallback. --------- Co-authored-by: Katherine Fleming <2205659+kflemin@users.noreply.github.com> Co-authored-by: Assistant Bot <assistant@example.com> * Bump to 0.9.6 and undo broken changes (#221) * Bump to 0.9.6 and undo broken changes cf https://github.com/NREL/openstudio-extension-gem/pull/220/files * Fix CI issues related to bundle install * Run bundle commands in unbundled environment to avoid nested bundler conflicts * Add parser dependency to avoid test_with_openstudio errors --------- Co-authored-by: Alex Chapin <achapin@nrel.gov> * Fix Gemfile source URL and update Jenkinsfile library reference (#222) --------- Co-authored-by: Katherine Fleming <2205659+kflemin@users.noreply.github.com> Co-authored-by: Assistant Bot <assistant@example.com> Co-authored-by: Julien Marrec <julien.marrec@gmail.com>
* Hard code rubocop version to 1.50.0 * Remove rubocop performance
* Bump version to 0.9.5 and prepare release (#217) * Bump version to 0.9.5 and prepare release - Update version to 0.9.5 - Update CHANGELOG.md and README.md - Add rubocop-performance to gemspec * prep version 0.9.4 * fix: update rubygems source to HTTPS and add gemspec file listing fallback. --------- Co-authored-by: Katherine Fleming <2205659+kflemin@users.noreply.github.com> Co-authored-by: Assistant Bot <assistant@example.com> * Bump to 0.9.6 and undo broken changes (#221) * Bump to 0.9.6 and undo broken changes cf https://github.com/NREL/openstudio-extension-gem/pull/220/files * Fix CI issues related to bundle install * Run bundle commands in unbundled environment to avoid nested bundler conflicts * Add parser dependency to avoid test_with_openstudio errors --------- Co-authored-by: Alex Chapin <achapin@nrel.gov> * Fix Gemfile source URL and update Jenkinsfile library reference (#222) * Remove parser dependency and prep for 0.9.7 (#226) * Bump version to 0.9.5 and prepare release (#217) (#219) * Bump version to 0.9.5 and prepare release - Update version to 0.9.5 - Update CHANGELOG.md and README.md - Add rubocop-performance to gemspec * prep version 0.9.4 * fix: update rubygems source to HTTPS and add gemspec file listing fallback. --------- Co-authored-by: Katherine Fleming <2205659+kflemin@users.noreply.github.com> Co-authored-by: Assistant Bot <assistant@example.com> * Release v0.9.6 (#223) * Bump version to 0.9.5 and prepare release (#217) * Bump version to 0.9.5 and prepare release - Update version to 0.9.5 - Update CHANGELOG.md and README.md - Add rubocop-performance to gemspec * prep version 0.9.4 * fix: update rubygems source to HTTPS and add gemspec file listing fallback. --------- Co-authored-by: Katherine Fleming <2205659+kflemin@users.noreply.github.com> Co-authored-by: Assistant Bot <assistant@example.com> * Bump to 0.9.6 and undo broken changes (#221) * Bump to 0.9.6 and undo broken changes cf https://github.com/NREL/openstudio-extension-gem/pull/220/files * Fix CI issues related to bundle install * Run bundle commands in unbundled environment to avoid nested bundler conflicts * Add parser dependency to avoid test_with_openstudio errors --------- Co-authored-by: Alex Chapin <achapin@nrel.gov> * Fix Gemfile source URL and update Jenkinsfile library reference (#222) --------- Co-authored-by: Katherine Fleming <2205659+kflemin@users.noreply.github.com> Co-authored-by: Assistant Bot <assistant@example.com> Co-authored-by: Julien Marrec <julien.marrec@gmail.com> * Rubocop fixes (#224) * Hard code rubocop version to 1.50.0 * Remove rubocop performance * Refactor gemspec to streamline file listing and remove unused parser dependency * Update gemspec to use Dir.glob for file listing and remove unused git command * Prep for 0.9.7 release --------- Co-authored-by: Katherine Fleming <2205659+kflemin@users.noreply.github.com> Co-authored-by: Assistant Bot <assistant@example.com> Co-authored-by: Julien Marrec <julien.marrec@gmail.com> * Revert "Remove parser dependency and prep for 0.9.7 (#226)" This reverts commit a64c11c. * Remove parser and prep for v0.9.7 (#227) * Refactor gemspec to streamline file listing and remove unused parser dependency * Update gemspec to use Dir.glob for file listing and remove unused git command * Prep for 0.9.7 release --------- Co-authored-by: Katherine Fleming <2205659+kflemin@users.noreply.github.com> Co-authored-by: Assistant Bot <assistant@example.com> Co-authored-by: Julien Marrec <julien.marrec@gmail.com>
No description provided.