A one-way Markdown mirror folder
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 68/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- csharp, git, markdown
- Área
- backend, database, desktop, documentation
Línea de trabajo
Read MarkdownPromptFormat.cs, MarkdownWorkflowFormat.cs, and MarkdownTransferService.cs to understand the existing format and file naming; then review the Storage section in SettingsViewModel.cs, IFilePickerService, and AppSettings.cs. Add the one-way mirror setting and folder write flow, tracking only files Prompuff created and writing each through a temporary file before rename. Done means importing the mirror restores prompts and workflows, unowned files remain untouched with a test covering that, and docs/user-guide.md explains the mirror.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Keep the library as plain files too, so Git, Syncthing or any editor can see it: a folder that Prompuff keeps in step with the library.
What to do
- Add a mirror folder, chosen in Settings › Storage and off until one is picked. Like Export, Prompuff writes only where the user chose.
- The folder holds one Markdown file per prompt in the 1.0 format, with workflows in
workflows/. It's flat: collections stay in the frontmatter, as in any export. - The mirror is one-way. Prompuff writes it, and Import stays the way files come in. A two-way mirror is #56.
- Prompuff only ever changes or removes files it wrote. Keep track of which those are, either in the library (a new migration, never an edited one) or in a file inside the mirror, and record the choice in ROADMAP.md.
- Write each file to a temporary name and then rename it, so Git or Syncthing never pick up half a file.
- Remembered values never go into the mirror, since they're never exported.
- Mirror files keeping in step with their prompts as they change is #38.
Where to look
src/Prompuff.Infrastructure/ImportExport/MarkdownPromptFormat.csandMarkdownWorkflowFormat.cs:Writesrc/Prompuff.Infrastructure/ImportExport/MarkdownTransferService.cs: how export names and writes filessrc/Prompuff.App/ViewModels/SettingsViewModel.cs: the Storage section;IFilePickerServicepicks the foldersrc/Prompuff.Application/Settings/AppSettings.cs
Done when
- Picking a folder fills it with the library, and importing that folder into a fresh library brings back the same prompts and workflows.
- A file in the folder that Prompuff didn't write is never changed or removed. A test covers it.
-
docs/user-guide.mddescribes the mirror.
- Lenguaje dominante
- C#
- Estrellas
- 0
- Forks
- 1
- Merge medio
- 1 h 21 min
- PR fusionados (30 d)
- 22
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de hazeliscoding/prompuff
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
hazeliscoding/prompuff#34 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
hazeliscoding/prompuff#22 ·
Los mantenedores suelen responder en 1 día
-
good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
hazeliscoding/prompuff#14 ·
Los mantenedores suelen responder en 1 día
-
good first issue
Dificultad 1/5 1-3 horas Aptitud para principiantes 92/100
hazeliscoding/prompuff#13 ·
Los mantenedores suelen responder en 1 día
-
enhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
hazeliscoding/prompuff#12 ·
Los mantenedores suelen responder en 1 día
Todos los issues de hazeliscoding/prompuff
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
unoplatform/uno.check#591 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
weaviate/csharp-client#378 ·
-
agentic-workflows automated testing
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Azure-Samples/Legacy-Modernization-Agents#194 ·
Los mantenedores suelen responder en 1 día
-
area-encryption area-security p1-recommended technical-debt
Dificultad 2/5 Menos de una hora Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
V5: `asAllDay` parameter not working in `/feed/v5/calendar/sonarr.ics`Posiblemente ocupada @stevietv la tomó hoy. Abiertoneeds-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
Los mantenedores suelen responder en 1 día