Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 1.15 KB

future-features.md

File metadata and controls

39 lines (30 loc) · 1.15 KB

Future Features

Architecture

  • Create dotenv rake task to load dotenv variables(?)
  • Rewrite current scripts using GitHub's REST API and Ruby's HTTP API (Octokit.rb is no longer being maintained)
  • Create object-oriented structuring throughout app

Implementation

  • Create a Regex pattern to search/filter
  • Add auto_paginate: true to the authentication action so as not to limit the number of results displayed at one time

Octokit Search and Filtering Options

repos = client.repos(user.login, search_params)
search_params = {
  include: %i[v-000 rails intro],
  exclude: %i[js]
}
repos.select! do |repo|
  ## Options include:
  # repo.fork?
  # repo.private?
  repo.name.downcase.include?(repo_name)
end

Reference