chore: rename project from podpuddle to podsteadr
Renames the repo directory and every podpuddle/PODPUDDLE reference across code, config, and docs to podsteadr/PODSTEADR (package names, Docker Compose project/service/volume names, env var names, UI/RSS strings). Existing Docker volume data (uploaded blobs, mediamtx recordings, the server's sqlite DB and its nostr identity key) was migrated to new podsteadr_-prefixed volumes with matching filenames so it isn't orphaned by the rename.
This commit is contained in:
Generated
+2
-2
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "podpuddle-server",
|
||||
"name": "podsteadr-server",
|
||||
"version": "0.1.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "podpuddle-server",
|
||||
"name": "podsteadr-server",
|
||||
"version": "0.1.0",
|
||||
"dependencies": {
|
||||
"@fastify/cookie": "^11.0.2",
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "podpuddle-server",
|
||||
"name": "podsteadr-server",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
|
||||
@@ -29,7 +29,7 @@ function nip98Header(url: string, method: string): string {
|
||||
}
|
||||
|
||||
beforeAll(async () => {
|
||||
dataDir = mkdtempSync(join(tmpdir(), 'podpuddle-test-'));
|
||||
dataDir = mkdtempSync(join(tmpdir(), 'podsteadr-test-'));
|
||||
const config = loadConfig({
|
||||
DATA_DIR: dataDir,
|
||||
PUBLIC_URL: 'http://localhost:8095',
|
||||
@@ -59,7 +59,7 @@ describe('auth', () => {
|
||||
expect(res.json().pubkey).toBe(pk);
|
||||
expect(res.json().isAdmin).toBe(true); // first login claims admin
|
||||
const setCookie = res.headers['set-cookie'] as string;
|
||||
expect(setCookie).toContain('podpuddle_session=');
|
||||
expect(setCookie).toContain('podsteadr_session=');
|
||||
cookie = setCookie.split(';')[0];
|
||||
});
|
||||
|
||||
@@ -168,7 +168,7 @@ describe('streams + mediamtx auth webhook', () => {
|
||||
method: 'POST',
|
||||
url: '/api/streams',
|
||||
headers: { cookie },
|
||||
payload: { title: 'Live Test', summary: 'hi', hashtags: ['podpuddle'] },
|
||||
payload: { title: 'Live Test', summary: 'hi', hashtags: ['podsteadr'] },
|
||||
});
|
||||
expect(res.statusCode).toBe(201);
|
||||
const body = res.json();
|
||||
|
||||
+1
-1
@@ -39,7 +39,7 @@ export interface BuildAppOptions {
|
||||
|
||||
export async function buildApp(opts: BuildAppOptions): Promise<FastifyInstance> {
|
||||
const { config } = opts;
|
||||
const db = openDatabase(opts.dbPath ?? join(config.DATA_DIR, 'podpuddle.sqlite3'));
|
||||
const db = openDatabase(opts.dbPath ?? join(config.DATA_DIR, 'podsteadr.sqlite3'));
|
||||
const settings = new SettingsService(db, config);
|
||||
const serverKey = loadServerKey(config.DATA_DIR);
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ import type { DB } from '../db/database.js';
|
||||
import type { Config } from '../config.js';
|
||||
import { Nip98Error, verifyNip98 } from '../services/nip98.js';
|
||||
|
||||
export const SESSION_COOKIE = 'podpuddle_session';
|
||||
export const SESSION_COOKIE = 'podsteadr_session';
|
||||
|
||||
declare module 'fastify' {
|
||||
interface FastifyInstance {
|
||||
|
||||
@@ -92,7 +92,7 @@ export function buildFeedXml(podcast: Podcast, episodes: Episode[], ctx: FeedCon
|
||||
` <link>${xmlEscape(link)}</link>`,
|
||||
` <description>${xmlEscape(podcast.description)}</description>`,
|
||||
` <language>${xmlEscape(podcast.language)}</language>`,
|
||||
` <generator>podpuddle</generator>`,
|
||||
` <generator>podsteadr</generator>`,
|
||||
` <lastBuildDate>${rfc2822(lastPub)}</lastBuildDate>`,
|
||||
` <atom:link href="${xmlEscape(feedUrl)}" rel="self" type="application/rss+xml"/>`,
|
||||
` <podcast:guid>${podcast.podcast_guid}</podcast:guid>`,
|
||||
|
||||
Reference in New Issue
Block a user