Skip to content

Commit 796c554

Browse files
committed
Hello world
0 parents  commit 796c554

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+2355
-0
lines changed

.dockerignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
.git
2+
.github
3+
.gitignore
4+
README.md
5+
6+
log
7+
tmp/cache
8+
test
9+
vendor
10+
coverage/
11+
.bundle
12+
.ruby-version
13+
14+
.DS_Store
15+
.AppleDouble
16+
.LSOverride
17+

.gitattributes

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# See https://git-scm.com/docs/gitattributes for more about git attribute files.
2+
3+
# Mark the database schema as having been generated.
4+
db/schema.rb linguist-generated
5+
6+
# Mark any vendored files as having been vendored.
7+
vendor/* linguist-vendored

.github/dependabot.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "bundler"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"
7+
allow:
8+
- dependency-type: direct
9+
- dependency-type: indirect
10+
- package-ecosystem: "github-actions"
11+
directory: "/"
12+
schedule:
13+
interval: "daily"
14+
- package-ecosystem: "docker"
15+
directory: "/"
16+
schedule:
17+
interval: "daily"

.github/workflows/ci.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: CI
2+
3+
on: [push]
4+
5+
jobs:
6+
verify:
7+
name: Build
8+
runs-on: ubuntu-latest
9+
10+
services:
11+
postgres:
12+
image: postgres:14
13+
env:
14+
POSTGRES_USER: repos
15+
POSTGRES_DB: repos_test
16+
POSTGRES_PASSWORD: postgres
17+
ports: ["5432:5432"]
18+
options: >-
19+
--health-cmd pg_isready
20+
--health-interval 10s
21+
--health-timeout 5s
22+
--health-retries 5
23+
redis:
24+
image: redis
25+
ports:
26+
- 6379:6379
27+
options: --entrypoint redis-server
28+
29+
steps:
30+
- uses: actions/checkout@v3
31+
- name: Install dependent libraries
32+
run: sudo apt-get install libpq-dev
33+
- name: Set up Node
34+
uses: actions/[email protected]
35+
with:
36+
node-version: 15
37+
- name: Set up Ruby
38+
uses: ruby/setup-ruby@v1
39+
with:
40+
ruby-version: 3.1.2
41+
bundler-cache: true
42+
43+
- name: Run tests
44+
env:
45+
RAILS_ENV: test
46+
POSTGRES_DB: repos_test
47+
POSTGRES_USER: repos
48+
POSTGRES_PASSWORD: postgres
49+
POSTGRES_HOST: localhost
50+
POSTGRES_PORT: ${{ job.services.postgres.ports[5432] }}
51+
run: bundle exec rake db:create db:migrate test

.gitignore

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
2+
#
3+
# If you find yourself ignoring temporary files generated by your text editor
4+
# or operating system, you probably want to add a global ignore instead:
5+
# git config --global core.excludesfile '~/.gitignore_global'
6+
7+
# Ignore bundler config.
8+
/.bundle
9+
10+
# Ignore all logfiles and tempfiles.
11+
/log/*
12+
/tmp/*
13+
!/log/.keep
14+
!/tmp/.keep
15+
16+
# Ignore pidfiles, but keep the directory.
17+
/tmp/pids/*
18+
!/tmp/pids/
19+
!/tmp/pids/.keep
20+
21+
# Ignore uploaded files in development.
22+
/storage/*
23+
!/storage/.keep
24+
/tmp/storage/*
25+
!/tmp/storage/
26+
!/tmp/storage/.keep
27+
28+
/public/assets
29+
30+
# Ignore master key for decrypting credentials and more.
31+
/config/master.key

.ruby-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.1.2

DEVELOPMENT.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Development
2+
3+
## Setup
4+
5+
6+
7+
## Importing data
8+
9+
10+
11+
## Tests
12+
13+
14+
15+
## Rake tasks
16+
17+
18+
19+
## Background tasks
20+
21+
22+
23+
## Docker
24+
25+
26+
27+
## Adding an ecosystem
28+
29+
30+
31+
## Deployment

Gemfile

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
source "https://rubygems.org"
2+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3+
4+
ruby "3.1.2"
5+
6+
gem "rails", "~> 7.0.3"
7+
gem "sprockets-rails"
8+
gem "pg", "~> 1.1"
9+
gem "puma", "~> 5.0"
10+
gem "jbuilder"
11+
gem "tzinfo-data", platforms: %i[ mingw mswin x64_mingw jruby ]
12+
gem "bootsnap", require: false
13+
gem "sassc-rails"
14+
gem "counter_culture"
15+
gem "faraday"
16+
gem "faraday-retry"
17+
gem "faraday-gzip"
18+
gem "faraday-follow_redirects"
19+
gem "nokogiri"
20+
gem "oj"
21+
gem "ox"
22+
gem "simple-rss"
23+
gem "hiredis"
24+
gem "redis", require: ["redis", "redis/connection/hiredis"]
25+
gem "sidekiq"
26+
gem "sidekiq-unique-jobs"
27+
gem "bibliothecary"
28+
gem "pagy"
29+
gem "pghero"
30+
gem "pg_query"
31+
gem 'bootstrap'
32+
gem "rack-attack"
33+
gem "rack-attack-rate-limit", require: "rack/attack/rate-limit"
34+
gem 'rack-cors'
35+
gem 'rswag-api'
36+
gem 'rswag-ui'
37+
gem 'spdx', '2.0.12'
38+
gem "semantic"
39+
gem "semantic_range"
40+
gem "sanitize-url"
41+
gem "toml-rb"
42+
43+
group :development, :test do
44+
gem "debug", platforms: %i[ mri mingw x64_mingw ]
45+
end
46+
47+
group :development do
48+
gem "web-console"
49+
end
50+
51+
group :test do
52+
gem "shoulda"
53+
gem "webmock"
54+
gem "mocha"
55+
gem "rails-controller-testing"
56+
end

0 commit comments

Comments
 (0)