Commit Graph

15 Commits

Author SHA1 Message Date
Félix Baylac Jacqué 9cde40c311
open-function: add some more docs 2023-01-02 14:05:56 +01:00
Félix Baylac-Jacqué 23419e5cc5
my-repo-pins--get-code-root-projects: add max-depth stop gap
We currently discriminate a regular directory from a project by
looking for a .git directory. This heuristics works reasonably well
but isn't perfect. It'll fail for non-git projects, git worktree, etc.

We were recursing through the code root until we reached a project. If
the project detection heuristics fails, we'll recurse way too deep.
This can create some serious performance issues.

We introduce a maximum recursion depth to prevent the tree walker from
recursing too deep. We set this maximum to 2 by default to reflect the
expected <forge>/<user>/<project> scheme.

We expose this maximum depth via a customization variable. If set to
nil, there won't be any limit.

Kudos to Marcin S. aka. m-cat for the help.

Bug report: https://github.com/NinjaTrappeur/my-repo-pins/issues/7
2022-07-17 16:11:15 +02:00
M. Ian Graham 9f56f50601
readme: Fix require in Quick Start 2022-07-12 12:19:00 +09:00
Félix Baylac-Jacqué 42b9cef601
Readme: add install instructions 2022-07-11 13:31:04 +02:00
Félix Baylac-Jacqué aa9983aa8e
Doc: my-repo-pins.el -> my-repo-pins
Removing the unnecessary ".el" suffix. It was originally here to
disambiguate h.el from the original h project.

We now have a unique name, we don't need this disambiguation anymore.
2022-07-11 13:16:03 +02:00
Félix Baylac-Jacqué cff21c3fcb Readme: rethink catch phrase.
Kudos to Jonas for the help.
2022-07-03 22:29:31 +02:00
Félix Baylac-Jacqué c058603766
Rename the project
Hinted by the Melpa maintainers here:
https://github.com/melpa/melpa/pull/8093

Using a single letter name was a mistake. Renaming the project to
something a bit more sensible. Maybe not too sensible that being said:
we had to adopt a pun.

Kudos to Wiwi for the pun: it's perfect.
2022-06-27 18:19:25 +02:00
Félix Baylac-Jacqué 3cb5c5e2d3
Readme: add absolute clone demo 2022-06-24 18:56:37 +02:00
Félix Baylac-Jacqué 8c86c9ae7c
README: document what this project is about 2022-06-24 18:05:53 +02:00
Félix Baylac-Jacqué e7d04c4e27
Implement dummy gitea and gitlab fetchers 2022-05-04 20:02:27 +02:00
Félix Baylac-Jacqué 471763fe23
h--get-code-root-projects: drop directory-files-recursively
Use the newly implemented h--find-git-dirs-recursively tree walker
instead.

Support Emacs till 25.1 (released ~6 years ago).
2022-04-06 19:52:42 +02:00
Félix Baylac-Jacqué 384b952611
Update readme 2022-04-04 18:31:59 +02:00
Félix Baylac-Jacqué 24490140f3
Readme: add CI badge 2022-04-03 18:06:24 +02:00
Ninjatrappeur 556c687a0a
Setup CI 2022-04-03 18:03:25 +02:00
Félix Baylac-Jacqué ea6631f05a
Burocratic setup 2022-04-01 10:44:44 +02:00