Annotation of wikisrc/projects/project/pkgsrc_packagekit.mdwn, revision 1.2

1.1       jmmv        1: [[!template id=project
                      2: 
                      3: title="Add pkgsrc support to packagekit"
                      4: 
                      5: contact="""
                      6: [tech-pkg](mailto:tech-pkg@NetBSD.org)
                      7: """
                      8: 
                      9: mentors="""
                     10: [Thomas Klausner](mailto:wiz@NetBSD.org), [Emile 'iMil' Heitor](mailto:imil@NetBSD.org)
                     11: """
                     12: 
1.2     ! jmmv       13: category="pkgsrc"
        !            14: difficulty="medium"
1.1       jmmv       15: duration="3 months"
                     16: 
                     17: description="""
                     18: Add pkgsrc support to [packagekit](http://www.packagekit.org/pk-intro.html) so the graphical packaging software "just works" for pkgsrc
                     19: 
                     20: The pkgsrc/pkgtools/packagekit package currently contains a minimal implementation of pkgsrc support to get the package to compile.
                     21: This should be extended.
                     22: 
                     23: Useful steps:
                     24: 
                     25: * Show all installed packages and let the user delete them
                     26: * Show list of available packages (local/remote) and let the user add them
                     27: * Show lists of available updates
                     28: * Include security information, i.e. show recommended updates based on audit-packages and list of installed / available packages
                     29: 
                     30: Additional goals:
                     31: 
                     32: * Show progress and / or console while installing / upgrading
                     33: * pkgsrc's PackageKit backend is to be integrated upstream (PackageKit people are open to contributions, that won't be an issue)
                     34: * It must not be mandatory to install the pkgsrc source tree (binary packages-only needs to work)
                     35: * If installation / upgrade hits a package not available as a binary (typically packages where the license doesn't allow distribution in binary form, e.g. flash, mplayer-share, ...), try to fallback to the pkgsrc source tree if it is available and explain causes and consequences to the user. That could be part of pkgin instead of the PackageKit backend.
                     36: * In case of failure, the full log shall be displayed so that the user has a chance to fix the problem "by hand". Some explanations about the failure would be nice. A useful log is mandatory in order to be able to request help from the pkgsrc-users mailing list or to open a PR.
                     37: * Using a convenient programming language, the student shall write an abstraction layer / API, permitting to easily manipulate pkgsrc.
                     38: 
                     39:     This layer shall permit to :
                     40: 
                     41:     * Return pkgsrc version
                     42:     * Return an installed package list/map
                     43:     * Return a "to-upgrade" package list/map
                     44:     * Return a full "package map" (non-automatic + dependencies)
                     45:     * Return an available package list
                     46:     * Install/upgrade/remove a new package and its dependencies
                     47:     * Return information about a package (DESCR, version, PLIST, Makefile, options, ...)
                     48:     * Display security information
                     49: """
                     50: ]]
                     51: 
                     52: [[!tag gsoc]]

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb