You are not logged in.

#1 2020-02-17 02:12:39

poscat
Member
Registered: 2020-02-17
Posts: 10

Regenerate libalpm documentation

The documentation of libalpm is seriously outdated https://code.toofishes.net/pacman/doc/.
I think we should regenerate it.

Offline

#2 2020-02-17 03:58:16

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: Regenerate libalpm documentation

Toofishes is retired from Arch Linux and no longer contributes to pacman. That site isn't an official hosting site.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#3 2020-02-17 05:21:06

poscat
Member
Registered: 2020-02-17
Posts: 10

Re: Regenerate libalpm documentation

Oh I see. I'll try to use doxygen to generate one instead.

Offline

#4 2020-02-17 05:27:43

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: Regenerate libalpm documentation

I built it: https://pkgbuild.com/~eschwartz/pacman-docs/

This is just as unofficial as the other link, but, I am active these days and have vague intentions to keep it up to date. Actually, I thought I had it already, but it turns out it got lost during the server move and decommissioning of soyuz, so I had to go remember how the doxygen docs were created so I could rebuild it.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#5 2020-02-17 11:05:07

poscat
Member
Registered: 2020-02-17
Posts: 10

Re: Regenerate libalpm documentation

Ah thanks.

Offline

#6 2020-02-20 09:22:14

poscat
Member
Registered: 2020-02-17
Posts: 10

Re: Regenerate libalpm documentation

Eh.. I think your documentation is outdated too (for example the return type of alpm_db_search have been changed to alpm_list_t*). So I generated one anyways: https://docs.poscat.moe.

Offline

#7 2020-02-20 14:29:53

eschwartz
Fellow
Registered: 2014-08-08
Posts: 4,097

Re: Regenerate libalpm documentation

Wrong, my documentation is "too new", not "too old", since I built from git and it actually switched from alpm_list_t to int, and added a third parameter, alpm_list_t **ret


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#8 2020-02-25 15:04:21

poscat
Member
Registered: 2020-02-17
Posts: 10

Re: Regenerate libalpm documentation

Ah. I see. Thanks and sorry for the late reply.

Offline

Board footer

Powered by FluxBB