OpenSDE Framework (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

103 lines
3.5 KiB

  1. (R) the value stay recorded on the tree after the first usage
  2. (G) the value can be specified at $HOME/.sde/config
  3. # `sde download`
  4. # Grab package files
  5. #
  6. sde download <options> -all # Download every file from the tree
  7. [-cfg $config] $pkg [$pkg [...]]
  8. # Downloads specific packages and their active extenders
  9. -cfg $config # Download all the files required by a given config
  10. -help # Shows some help
  11. options:
  12. -q # quiet mode
  13. (R) -mirror $mirror # use a given mirror
  14. (G) -alt-dir $altdir # try first from a give path
  15. (G) -curl-opt $curlopt # use a given set of arguments for `curl`
  16. (G) -proxy $proxy # proxy to use on downloads
  17. (G) -proxy-auth $proxyuth # auth info for the proxy
  18. # `sde config`
  19. # Set up a build
  20. #
  21. sde config <options> [[-cfg] $config] # configure a build (default: default)
  22. options:
  23. -q # quick/quiet mode, just refresh
  24. # `sde build`
  25. # Makes a build
  26. #
  27. sde build [[-cfg] $config] # start/continue a given build
  28. [[-cfg] $config] -job [$stage-]$pkg
  29. # builds certain package on a build
  30. [[-cfg] $config] [-f] -tools [$stage]
  31. # build some internal tools needed during the build
  32. # (it's able to detect if they need regeneration or not)
  33. options:
  34. -f # (-tools) force regeneration
  35. # `sde new`
  36. # Makes a new tree
  37. #
  38. sde new [-branch $branch] $location # makes a new tree at a given location
  39. # `sde update`
  40. # Updates a tree
  41. sde update <options> # Updates a tree
  42. options:
  43. -v # verbose
  44. -s # append summary
  45. # `sde commit` (Alias: ci)
  46. # Commit changes
  47. #
  48. sde commit <options> [$location [$location [...]]] # commits changes at give locations
  49. # (they can also be package names)
  50. options:
  51. -patch # creates a patch to send by mail
  52. # `sde pkg` (Alias: package)
  53. #
  54. sde pkg update $package # recalculate checksum for the files of a package (download if needed)
  55. update $package $version [-relocate $newlocation]
  56. # updates a package to a given version, optionally changing the
  57. # download location
  58. update $package -check
  59. # check upstream for new versions of this package
  60. build $package [-cfg $config] [-stage $stage] [-root $root]
  61. # builds a package
  62. new <options> [package/]$repository/$package (-fm|-cpan|-sf|-be) $name
  63. # creates a new package from the info available for a name at a remote source
  64. # fm:freshmeat cpan:CPAN sf:SourceForge be:berlios
  65. new <options> [package/]$repository/$package $url [$url [...]]
  66. # creates a new package taking as download files a given list of URLs
  67. options:
  68. -v # (new), verbose package creation
  69. -q # (new), quiet package creation
  70. (G) -m $me # (new), sets the given as the package maintainer
  71. # `sde target`
  72. # Interacts with the target's directory
  73. #
  74. sde target list [$flag [$flag [...]]]
  75. # list the targets (and their branches) which are registered for a given
  76. # set of flags
  77. list $target
  78. # list the branches registered on the directory of a give target
  79. update [$target [$target [...]]]
  80. # updates one, more or all the targets on this tree
  81. get $target [-branch $branch]
  82. # gets a read-only copy of a target on the current tree (recursivly)
  83. rename $target $newtarget
  84. # changes the id a target is using on the current tree (and on the configs)
  85. switch $target [-branch $branch] (-ro|-rw)
  86. # change a target to a different branch or between rw/ro repositories
  87. # `sde cleanup`
  88. #
  89. sde cleanup # removes inactive src.*/ directories lingering around
  90. -download # removes files at download/ which are no longer needed
  91. -cache # removes ccache caches
  92. -build $builddir [$builddir [...]]
  93. # removes complete builddirs