./www/nsm, Cross-platform git- and LaTeX-like command-line website manager

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.3.10, Package name: nsm-2.3.10, Maintainer: pkgsrc-users

Nifty Site Manager ("nsm") is a cross-platform framework for managing
and generating websites. Some of its features are:
- it can manage and generate static and dynamic websites.
- it has support for pre/post build/serve scripts to integrate with
cURL, databases, SASS, Grunt, GraphQL, Python Web Server, Live
Server/Reload, and more.
- there is multithreading support
- it is language agnostic, you can use any language you want
(markdown, LATEX, html, xml, css, javascript, php, MySQL, etc)
- it integrates flawlessly with various Javascript and PHP frameworks
- it integrates with Git to clone from and push to various platforms
including AWS, BitBucket, GitHub, GitLab, Netlify, surge.sh, ZEIT Now, etc
- it has a templating system


Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: cc9a04d17a0dc3969241b2ac4758664b335da7d8
RMD160: 627cbbba3e4bd1e5cfe92768ec2beef8e260ff74
Filesize: 1569.721 KB

Version history: (Expand)


CVS history: (Expand)


   2021-04-13 10:55:59 by Nia Alarie | Files touched by this commit (4)
Log message:
nsm: fix build.
   2021-03-28 00:18:59 by Makoto Fujiwara | Files touched by this commit (1)
Log message:
(www/nsm) regen distinfo
   2021-03-08 09:44:28 by Nikita | Files touched by this commit (1)
Log message:
re-assign maint
   2020-01-09 12:28:37 by ng0 | Files touched by this commit (2) | Package updated
Log message:
www/nsm: Update to version 2.0.1

Changelog picked from https://github.com/nifty-site-manager/nsm/releases:

Nift (aka nsm) v2.0.1
* fixed bug when cloning a website repository from an empty directory
  (and any other similar bugs from using remove_path where remove_file
  is more appropriate, ie. when creating temporary text files)

Nift (aka nsm) v2.0
* changed @inputcontent to @content()
* changed @inputraw(file-path) to @input{raw}(file-path)
* addded if-exists/raw option to @input(file-path) and @content()
* added file/name options to @pathto
* changed @userin(msg) to @in(msg) and @userfilein(msg) to @in{from-file}(msg)
* added if-exists/inject/raw/content options to @script/@System
* changed from using @[varname] and @{varname} to @[varname] and
  @<varname> when printing variables
* changed to @funcname{options}(params) for function call syntax
* changed from using * option to parse params to {!p} option to
  NOT parse function name, options and params
* changed from using ^ option to not backup scripts to {!bs} option
* added read_params
* fixup up read_def and read_func_name
* fixed multi-line comments
   2020-01-01 02:10:37 by ng0 | Files touched by this commit (2) | Package updated
Log message:
www/nsm: Update to version 1.25

Changelog picked from https://github.com/nifty-site-manager/nsm/releases:

Nift (aka nsm) v1.25
* changed the way @ is escaped and removed most escape characters
  (too likely to conflict in other places)
* added @ent syntax to template language
* added @\@, @\<, @\\ escaping syntax to template language
* improved reading parameters
* changed how strings/variables are done in preparation for more
  types (to come, type defs and function defs)
* now allow multiple string definitions in the one definition
* improved syntax for inputting tracked file and project/site
  information, now basically hard-coded constants
* fixed bug with delDir, which fixed bugs with clone etc.
* removed website specific terminology (lots of changes)
* added Nift command backup-scripts (option)
* changed one of the Nift config commands to info-config
* added Nift command info-tracking
* check if new content path etc. exist with new-cont-ext etc.
* check whether content file already exists when moving/copying
* make sure all tracks/untracks/rms will be successful before
  any of them are done
   2019-12-11 16:56:05 by ng0 | Files touched by this commit (2) | Package updated
Log message:
www/nsm: Update to version 1.24

Changelog picked from https://github.com/nifty-site-manager/nsm/releases:

Nift (aka nsm) v1.24
Release Notes:
    * fixed bugs with content/page/script extensions and mv/cp/rm
      aka move/copy/del
    * updated/moved removePath to remove_path and remove_file and
      now removes now-empty directories
    * added in ^ option for @script syntax in template language
      for not making a backup copy
    * added in backupScripts to config files
    * added Nift commands track-dir, untrack-dir, rm-dir,
      track-from-file, untrack-from-file, rm-from-file (note when
      removing large volumes of pages using rm-from-file can cause
      significant machine lags while running and not long after)
    * added Nift commands watch, unwatch, info-watching
    * got rid of pre/post build-all and build-updated scripts,
      costs too much time and not really needed
    * added pre/post build scripts to page dependencies
   2019-12-10 18:37:45 by ng0 | Files touched by this commit (2) | Package updated
Log message:
www/nsm: Update to 1.23

Changelog picked from https://github.com/nifty-site-manager/nsm/releases:

Nift (aka nsm) v1.23
Release Notes:
    fixed Windows bugs and tidied up with pre/post build/serve scripts and \ 
@script, @scriptoutput, @scriptraw
    fixed indenting inside pre blocks with methods to input from file
    added allowing quoted string variable names with whitespace and open brackets
    improved filenames for temporary files
    added syntax @\n to template language
    added in syntax for Nift comments to template language:
        <@-- .. --@> (raw multi line comment)
        @/* .. @*/ (parsed multi line comment)
        @--- .. @--- (parsed special multi line comment)
        @# (raw single line comment)
        @// (parsed single line comment)
        @!\n (parsed special single line comment)

Nift (aka nsm) v1.22
Release Notes:
    added in scriptExt to config files, better way to do pre/post build/serve scripts
    added command new-script-ext (page-name) scriptExt
    changed/improved how pre/post build/serve scripts are done
    hopefully fixed bugs with @script, @scriptoutput, @scriptraw functions
    added optional parameter string parameter to @script, @scriptoutput, \ 
@scriptraw functions
    updated Nift info commands with additional page information
    added pageinfo syntax @pagecontentext, @pagepageext, @pagescriptext to \ 
template language
    added siteinfo syntax @scriptext to template language
    added in buildThreads to config files
    added command no-build-thrds (no-threads)
   2019-11-29 23:03:38 by ng0 | Files touched by this commit (2) | Package updated
Log message:
www/nsm: Update to 1.21

Changelog picked from https://github.com/nifty-site-manager/nsm/releases:

Nift (aka nsm) v1.21
Release Notes:
    removed trailing '/' or '\' from @contentdir and @sitedir output
    fixed bugs with @contentdir, @sitedir, @contentext syntax
    fixed indenting when parsing parameters
    added more error handling with Nift commands new-[cont/page]-ext
    added file input syntax @RawContent, @inputraw, @scriptraw, @systemraw to \ 
template language
    added user input syntax @userin, @userfilein to template language