Skip to content
Snippets Groups Projects

WIP: New task, doc, and template for security releases

Closed username-removed-128633 requested to merge 22-security-release into master
1 unresolved thread
  • New security_patch_issue Rake task to create a security patch issue
  • Updated documentation
  • New SECURITY=true flag to tag a security releases: the branches & tags will be pushed to dev only (no automatic sync with all the remotes)

Closes #22 (closed)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
10 10 class CanonicalRemote < Struct.new(:name, :url); end
11 11
12 12 def self.get(remotes, repository_name = nil)
13 repository_name ||= remotes.values.first.split('/').last.sub(/\.git\Z/, '')
13 repository_name ||= timestamped_name(remotes.values.first.split('/').last.sub(/\.git\Z/, ''))
14 14
15 15 Repository.new(File.join('/tmp', repository_name), remotes)
16 16 end
17 17
18 def self.timestamped_name(name)
19 "-#{Time.now.to_i}"
  • @rymai I think it will be easier to review this if we first do the security issue and template on its own, and then do a separate MR to handle the release part.

  • username-removed-128633 Status changed to closed

    Status changed to closed

  • Please register or sign in to reply
    Loading