Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ repos:
- id: check-merge-conflict
- id: check-yaml
- id: detect-private-key
# - id: end-of-file-fixer
- id: end-of-file-fixer
files: \.(cgi|rb|ya?ml)$
- id: fix-byte-order-marker
- id: forbid-submodules
- id: mixed-line-ending
Expand Down
2 changes: 1 addition & 1 deletion compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ services:
cap_add:
- SYS_ADMIN
# Seems to be needed to run puppeteer on macOS with Apple chips
platform: linux/amd64
platform: linux/amd64
1 change: 0 additions & 1 deletion lib/spec/lib/member_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,3 @@
expect(res).to eq('Charlie Ryman')
end
end

2 changes: 1 addition & 1 deletion lib/spec/lib/person_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@
res = ASF::Person.ldap_parse_cn_DRAFT('one two three', true)
expect(res).to eq(['one', ['two', 'three']])
end
end
end
2 changes: 1 addition & 1 deletion lib/whimsy/asf/orgchart.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,4 +88,4 @@ def self.desc
org.each.map do |k, v|
p [k, (v['info']['id'] || v['info']['chair'] || '?')]
end
end
end
2 changes: 1 addition & 1 deletion tools/fixroster.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@

end
puts 'Done'
end
end
2 changes: 1 addition & 1 deletion tools/inactive.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
p [cttee.name,availid,person.asf_member?]
end
end
end
end
1 change: 0 additions & 1 deletion tools/membersort.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@
File.write(members, sorted)
system 'svn', 'diff', members
end

2 changes: 1 addition & 1 deletion tools/migrate_podlings.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
ASF::Podlings.list.select{ |p| p.status == 'current'}.each_entry{ |podling|
pod_status_yml = File.join(incubator_podlings, "#{podling.resource}.yml")
File.open(pod_status_yml, 'w') {|f| f.write(podling.default_status.to_yaml) }
}
}
1 change: 0 additions & 1 deletion tools/namemap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -262,4 +262,3 @@ def committer_dups(io)
# dups, histogram = NameMap.committer_dups(File.read('committerlist-from-whimsy.json'))
# puts JSON.pretty_generate(dups)
# puts JSON.pretty_generate(histogram)

1 change: 0 additions & 1 deletion tools/ponypoop.rb
Original file line number Diff line number Diff line change
Expand Up @@ -209,4 +209,3 @@ def optparse
end
puts "END: Thanks for running ponypoop - see results in #{options[:dir]}"
end

1 change: 0 additions & 1 deletion tools/proxyhelper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,3 @@ def reminder_lines(meeting = File.basename(Dir[File.join(MEETINGS, '2*')].max))
puts 'START: reminder_lines()'
p = reminder_lines
puts p

2 changes: 1 addition & 1 deletion tools/setup_local_repo.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,4 +92,4 @@ def svnmkdir(relpath)
# Set up some files needed for testing
svncopy('asf/infrastructure/site/trunk/content/foundation/records/minutes/HEADER.html')
svnmkdir('asf/infrastructure/site/trunk/content/foundation/records/minutes/2000')
svncopy('asf/infrastructure/site/trunk/content/foundation/records/minutes/2000/board_minutes_2000_02_28.txt')
svncopy('asf/infrastructure/site/trunk/content/foundation/records/minutes/2000/board_minutes_2000_02_28.txt')
2 changes: 1 addition & 1 deletion www/board/list-traffic.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
print "Status: 301 Moved Permanently\r\n"
print "Location: ../officers/list-traffic.cgi\r\n"
print "\r\n"
exit
exit
1 change: 0 additions & 1 deletion www/board/missing-reports.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,3 @@ _html do
end
end
end

2 changes: 1 addition & 1 deletion www/committers/config_info.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ cfg = ASF::Config.instance_variable_get(:@config)

cfg.each do |k,v|
puts "%s: %s" % [k,v]
end
end
1 change: 0 additions & 1 deletion www/committers/tm-report.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -281,4 +281,3 @@ _html do
end
end
end

1 change: 0 additions & 1 deletion www/incubator/podlings/by-age.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,3 @@ _html do
end
end
end

1 change: 0 additions & 1 deletion www/members/download_check.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,3 @@ _html do
end
end
end

2 changes: 1 addition & 1 deletion www/members/logs.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -161,4 +161,4 @@ _html do
end
end
end
end
end
1 change: 0 additions & 1 deletion www/members/memberless-pmcs.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,3 @@ _html do
end
end
end

2 changes: 1 addition & 1 deletion www/members/mentor-format.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,4 @@ class MentorFormat
def self.get_uimap(path)
return JSON.parse(File.read(File.join(path, 'ui-map.json')))
end
end
end
2 changes: 1 addition & 1 deletion www/members/mentors.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,4 @@ _html do

end
end
end
end
1 change: 0 additions & 1 deletion www/members/mirror_check.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,3 @@ _html do
end
end
end

2 changes: 1 addition & 1 deletion www/members/namediff.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,4 @@ _html do
}
end
end
end
end
1 change: 0 additions & 1 deletion www/members/page-scanner.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,3 @@ if url
else
print "Expecting: ?url=http://.../[&showurl] (or ?host=abcd => ?url=https://abcd.apache.org/\n"
end

2 changes: 1 addition & 1 deletion www/members/repo-use.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,4 @@ _html do

end
end
end
end
1 change: 0 additions & 1 deletion www/officers/board-stats.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,3 @@ _html do

end
end

1 change: 0 additions & 1 deletion www/officers/coi.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -232,4 +232,3 @@ Regards,\n
_p {_ "Reload ";_a "this page",href: "coi.cgi";_span " to see the results."}
end
end

1 change: 0 additions & 1 deletion www/officers/unlistedclas.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,3 @@ _html do
end
end
end

2 changes: 1 addition & 1 deletion www/project/icla/views/actions/update.json.rb
Original file line number Diff line number Diff line change
Expand Up @@ -210,4 +210,4 @@ def process()
end
else
process
end
end
1 change: 0 additions & 1 deletion www/roster/public_member_info.rb
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,3 @@
end

end

1 change: 0 additions & 1 deletion www/roster/views/app.js.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,3 @@
require_relative 'group'

require_relative 'utils'

1 change: 0 additions & 1 deletion www/roster/views/person/github.js.rb
Original file line number Diff line number Diff line change
Expand Up @@ -69,4 +69,3 @@ def render
end
end
end

1 change: 0 additions & 1 deletion www/roster/views/person/sshkeys.js.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,3 @@ def render
end
end
end

1 change: 0 additions & 1 deletion www/secretary/response-time.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,3 @@ _json do
_result `#{CMD.sub(/\bofficers\b/, ASF::SVN['officers'])}`
_server Time.now - startTime
end

1 change: 0 additions & 1 deletion www/secretary/upload_file.cgi
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,3 @@ _html do
end
end
end