ubinux / smart2

SMART2 Package Manager
https://github.com/ubinux/smart2
GNU General Public License v2.0
6 stars 4 forks source link

Create source archive #7

Open fan-xin opened 8 years ago

fan-xin commented 8 years ago

1. Add the function to create source archive(2016-09-29)

In tgui interface, "get source archive" function will be added. For example: After you start smart by the following command :

$smart --rootfs-dir=/home/user/rootfsdir --interface=tgui

You can see :

        install
        remove
        upgrade
        create source archive *
        create spdx archive

You can choose the 'create source archive' item to realize the function. After this scene, you should specify the path of source repository. Then a packages selecting window appears. All of the installed packages are displayed. By default the installed packages will be selected. Choose what you want and specify the output path, you can get the source packages for selected packages.

Feature:

The download source archives will be put into different directories according to license.

3. Can get the SPDX file(2016-10-21)

The same as source archive, in tgui interface, "get spdx file" function will be added. For example: After you start smart by the following command :

$smart --rootfs-dir=/home/user/rootfsdir --interface=tgui

You can see :

        install
        remove
        upgrade
        create source archive
        create spdx archive *

You can choose the 'create spdx archive' item to realize the function. After this scene, you should specify the path of spdx files repository. Then a packages selecting window appears. All of the installed packages are displayed. By default, the installed packages will be selected. Choose what you want and specify the output path, you can get the spdx files for selected packages.

Feature: