DeLi(cate) Forum
srcget 0.1 introduced - Printable Version

+- DeLi(cate) Forum (http://delicate-linux.net/forum)
+-- Forum: DeLi(cate) Linux [english only] (/forumdisplay.php?fid=3)
+--- Forum: Packages (Applications) (/forumdisplay.php?fid=5)
+---- Forum: devel (/forumdisplay.php?fid=25)
+---- Thread: srcget 0.1 introduced (/showthread.php?tid=211)



srcget 0.1 introduced - tavvva - 03-01-2012 08:59 PM

srcget is a tiny tool for downloading sources from the source repository. It guides the user by listing the available packages and their versions.

Typical usage sequence :]
---------------------------------------------------------------------------------------------------
1.) without params
$ srcget
DeLi(cate) version not specified!

Usage: srcget [delicate-version [package-name [package-version]]]

---------------------------------------------------------------------------------------------------
2.) with DeLi(cate) version
$ srcget 0.1
Package name not specified!

Usage: srcget [delicate-version [package-name [package-version]]]

Available sources:
abe
abiword
ace-of-penguins
...
...

---------------------------------------------------------------------------------------------------
3.) with package name
$ srcget 0.1 xlockmore
Package version not specified!

Usage: srcget [delicate-version [package-name [package-version]]]

Available versions:
5.33-4
5.33-5

---------------------------------------------------------------------------------------------------
4.) with package version
$ srcget 0.1 xlockmore 5.33-5

...
...

---------------------------------------------------------------------------------------------------
Now you should have all the files from http://delicate-linux.net/0.1/src/xlockmore/5.33-5/ remote directory downloaded in the newly created ./0.1/xlockmore/5.33-5/ local directory.


RE: srcget 0.1 introduced - tavvva - 02-20-2013 11:51 PM

srcget 0.2.1 has been released. This version introduces a possibility to define a fixed target directory for storing the tree of sources. The target directory is configurable via the target_path variable defined in the ~/.srgcetrc file.

You can simply configure the target directory with the following or similar command:

echo 'target_path=~/sources' > ~/.srcgetrc

Note: The target directory ~/sources needs to exist (and needs to be writable)


RE: srcget 0.1 introduced - Tom - 01-10-2015 04:37 AM

I tried to make a man page
Code:
.\" Process this file with
.\" groff -man -Tascii srcget.1
.\"
.TH srcget 1 "2015-01-10" "Linux" "srcget Manual"
.SH NAME
srcget \- a tiny tool for downloading DeLi(cate) linux sources
.SH SYNOPSIS
.B srcget [
.I delicate-version
.B [
.I package-name
.B [
.I package-version
.B ]]]
.SH DESCRIPTION
.B srcget
is a tiny tool for downloading sources from the source repository.
It guides the user by listing the available packages and their versions.

.SH OPTIONS
.IP delicate-version
the only DeLi(cate) version available: "0.1"
.IP package-name
Specify a package e.g.: abe, abiword or ace-of-penguins.
.IP package-version
Choose an available version. For xlockmore: 5.33-4 5.33-5
.IP "without an option a short help is shown."
.SH FILES
~/.srcget
.RS 4
Per user configuration file. Available option: target_path=
.I <directory>
, e.g. target_path=~/sources
.PP
Note: The target directory ~/sources needs to exist (and needs to be writable)
.RE
.SH EXAMPLE
.B Get the source of the package xlockmore 5.33-5 from DeLi(cate) version 0.1:
.
.PP
srcget 0.1 xlockmore 5.33-5
.PP
Now you should have all the files from the remote directory downloaded in the newly created local directory.
Formatted
Code:
srcget(1)                        srcget Manual                       srcget(1)



NAME
       srcget - a tiny tool for downloading DeLi(cate) linux sources

SYNOPSIS
       srcget [ delicate-version [ package-name [ package-version ]]]

DESCRIPTION
       srcget  is  a tiny tool for downloading sources from the source reposi-
       tory.  It guides the user by listing the available packages  and  their
       versions.                                                              


OPTIONS
       delicate-version
              the only DeLi(cate) version available: "0.1"
                                                          
       package-name                                      
              Specify a package e.g.: abe, abiword or ace-of-penguins.
                                                                      
       package-version                                                
              Choose an available version. For xlockmore: 5.33-4 5.33-5
                                                                      
       without an option a short help is shown.                        

FILES
       ~/.srcget
           Per user configuration file. Available option: target_path= <direc-
           tory> , e.g. target_path=~/sources

           Note: The target directory ~/sources needs to exist (and  needs  to
           be writable)

EXAMPLE
       Get  the source of the package xlockmore 5.33-5 from DeLi(cate) version
       0.1:                                                                  
          
       srcget 0.1 xlockmore 5.33-5
                                  
       Now you should have all the files from the remote directory  downloaded
       in the newly created local directory.                                  



Linux                             2015-01-10                         srcget(1)



RE: srcget 0.1 introduced - tavvva - 01-12-2015 11:17 AM

Hello Tom :]

Thanks.
Going to include in few minutes.


RE: srcget 0.1 introduced - tavvva - 01-12-2015 04:59 PM

I added few more pieces to the manpage and uploaded as srcget-0.2.1-2. Once again, thanks.