-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathupdate_programs.sql
More file actions
71 lines (61 loc) · 4.25 KB
/
update_programs.sql
File metadata and controls
71 lines (61 loc) · 4.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
-- 0. Ensure schema is up to date
ALTER TABLE organizations ADD COLUMN IF NOT EXISTS description TEXT;
ALTER TABLE organizations ADD COLUMN IF NOT EXISTS program TEXT DEFAULT 'GSoC 2026';
-- 1. Insert Outreachy Organizations
INSERT INTO organizations (name, slug, logo_url, tech_stack, program, description, repo_path)
VALUES
('GNOME', 'gnome', 'https://upload.wikimedia.org/wikipedia/commons/3/3d/GNOME_logo.svg', ARRAY['C', 'Rust', 'Python', 'GTK'], 'Outreachy', 'The desktop environment for the Linux community.', 'GNOME/gnome-shell'),
('Fedora', 'fedora', 'https://upload.wikimedia.org/wikipedia/commons/3/3f/Fedora_logo.svg', ARRAY['Python', 'Shell', 'C', 'Ansible'], 'Outreachy', 'A community-driven Linux distribution and OS ecosystem.', 'fedora-infra/fedora-messaging'),
('OpenTelemetry', 'opentelemetry', 'https://raw.githubusercontent.com/open-telemetry/opentelemetry.io/main/icon.svg', ARRAY['Go', 'Java', 'Python', 'Collector'], 'Outreachy', 'A collection of tools, APIs, and SDKs for observability.', 'open-telemetry/opentelemetry-collector')
ON CONFLICT (slug) DO UPDATE SET
logo_url = EXCLUDED.logo_url,
tech_stack = EXCLUDED.tech_stack,
program = EXCLUDED.program,
description = EXCLUDED.description,
repo_path = EXCLUDED.repo_path;
-- 2. Insert ESOC 2026 Organizations (EuroSocio-OpenSource)
INSERT INTO organizations (name, slug, logo_url, tech_stack, program, description, repo_path)
VALUES
('OpenSource Health', 'os-health', 'https://api.dicebear.com/7.x/initials/svg?seed=OH', ARRAY['React', 'Node.js', 'PostgreSQL'], 'ESOC 2026', 'Building open tools for community healthcare in Europe.', 'os-health/core'),
('GreenCode', 'greencode', 'https://api.dicebear.com/7.x/initials/svg?seed=GC', ARRAY['Python', 'D3.js', 'EarthData'], 'ESOC 2026', 'Open data pipelines for environmental monitoring.', 'greencode/pipeline')
ON CONFLICT (slug) DO UPDATE SET
logo_url = EXCLUDED.logo_url,
tech_stack = EXCLUDED.tech_stack,
program = EXCLUDED.program,
description = EXCLUDED.description,
repo_path = EXCLUDED.repo_path;
-- 3. Update Playbook for GNOME (Platinum)
INSERT INTO playbooks (org_id, content_markdown)
SELECT id, '# Platinum Playbook: GNOME
The definitive guide to contributing to the Linux Desktop powerhouse.
## 1. The "Why": Standardizing Open Desktop
**The Mission:** GNOME is more than a desktop; it''s an ecosystem of apps and libraries that define the Linux experience.
**Your Impact:** Your code will be used by millions of Linux users (Fedora, Ubuntu, etc.) every day.
**Career Supercharger:** Mastering C/GTK or Rust in GNOME is a massive signal for system-level engineering roles.
## 2. Architecture Analysis
- **Core Stack:** C (GLib/GObject), Rust, and Python for apps.
- **The Engine:** GTK for UI, Mutter for window management.
- **Key Channels:** Matrix (#gnome:gnome.org) and GNOME Discourse.
## 3. The Unwritten Rules
- **Human Interface Guidelines (HIG):** GNOME is obsessed with design. Your UI PRs must follow the HIG strictly.
- **The "Newcomer" Label:** Look for issues tagged "Newcomer" on GNOME GitLab.
- **Matrix over Slack:** GNOME lives on Matrix. Engage there to get noticed.'
FROM organizations WHERE slug = 'gnome'
ON CONFLICT (org_id) DO UPDATE SET content_markdown = EXCLUDED.content_markdown;
-- 4. Update Playbook for OpenTelemetry (Platinum)
INSERT INTO playbooks (org_id, content_markdown)
SELECT id, '# Platinum Playbook: OpenTelemetry
Mastering the future of cloud-native observability.
## 1. The "Why": Visibility into Complexity
**The Mission:** OTEL is the industry standard for tracing, metrics, and logs. It''s used by every major cloud company.
**Your Impact:** You''re building the infrastructure that helps devs debug complex microservices.
**Career Supercharger:** OTEL knowledge is the hottest skill in DevOps/SRE right now.
## 2. Architecture Analysis
- **Core Stack:** Go, Java, Python (SDKs) and the Collector (Go).
- **Key Component:** The OTLP protocol.
## 3. The First PR Roadmap
1. **The Entry:** Fix an exporter bug or add a missing metric in an SDK.
2. **The Step-up:** Contribute to the Collector''s processing logic.
3. **The Unwritten Rule:** OTEL is huge. Pick *one* SDK (like Python or Go) and stick to it.'
FROM organizations WHERE slug = 'opentelemetry'
ON CONFLICT (org_id) DO UPDATE SET content_markdown = EXCLUDED.content_markdown;