oscript-library / oscript-library/gitsync

Доработки по удалению временных файлов, оставшихся от предыдущих сеансов

Open
#110 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

question techical debt
Dominant language
1C Enterprise
Stars
333
Forks
98
PR merge metrics
No merged PRs in 30d

Description

https://gitter.im/EvilBeaver/oscript-library?at=5a5dc584517037a212b0d585
Artur Ayukhanov @artbear 12:27
можем добавить фичу в гитсинк -
1 в гитсинке имена каталогов создавать со спец.префиксом gitsync+ВремИмя (например, gitsync-0uxcvoiuljswdefoi)
или другой префикс
тогда можно будет легко отделить каталоги, которые нужно удалить, при ручном или автоанализе.

2 также можно добавить спец.файл, который блокируется гитсинком в этих каталогах при начале работы
если файл залочен, то удалять каталог низя
если файл не залочен, то удаляем каталоги

3 можно сделать спец.команду гитсинка для удаления подобных каталогов от ранних сеансов и учетом файла блокировки

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by locating how gitsync creates and tracks temporary session directories, then clarify the proposed naming, lock-file, and cleanup behavior. Done means an agreed design and corresponding tests for safe removal of abandoned session directories.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.