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

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


Branch: CURRENT, Version: 2.4.12, Package name: nsm-2.4.12, 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:

Filesize: 1594.008 KB

Version history: (Expand)


CVS history: (Expand)


   2023-02-25 01:09:43 by Nikita | Files touched by this commit (3) | Package updated
Log message:
nsm: update to version 2.4.12

ChangeLog (taken from https://github.com/nifty-site-manager/nsm/releases)

Nift (aka nsm) v2.4.12

Release Notes:
    further improved line number tracing for errors
    added get_pwd and pwd to embedded lua
    updated to newer versions of LuaJIT 2.1.0-beta3 and ExprTk

Nift (aka nsm) v2.4.11

Release Notes:
    added basic/fast multi-threading options to poke and rmv
    changed to strictly using templatestein when parsing constructed string for \ 
join function
    fixed up being able to use "fn" instead of "function"
    fixed up error function to handle multiple parameters
    improved reading bracketless codeblocks inside bracketed codeblocks (no \ 
longer need an empty end line)
    hunted down some bugs with line number tracing for errors

Nift (aka nsm) v2.4.10

Release Notes:
    fixed up lolcat to handle finding the end of things with 'm' to avoid so \ 
much white
    fixed up bug with reading {} in unbracketed code blocks
    added trying to compile and evaluate unrecognised lines using ExprTk with \ 
functionstein (f++)
    added option (default value can be changed with exprtk.eval_params fn) to \ 
compile and evaluate params with ExprTk

Nift (aka nsm) v2.4.9

Release Notes:
    added in ability to run scripts with nift script-path as well as nift run \ 
script-path, makes shebangs nicer for example
    further improved language detection
    improved lolcat piping of system calls across multiple statements and made \ 
more consistent across f++/n++/Lua(JIT)/ExprTK
    hopefully fixed bugs with n++ and zero param non-fns output (in particular $ \ 
instances)
    added script path as first parameter for argv

Nift (aka nsm) v2.4.8

Release Notes:
    added in default of trying system call if failure with lua(jit) or exprtk in \ 
interactive (interp/sh) mode,
    they work better as shell extensions this way
    cleaned up language choice so ExprTk and templatestein and all reasonable \ 
derivatives work okay
    fixed up nsm_lang fns for Lua(JIT) and ExprTk to work with both string and \ 
char version of language selection
    updated sys/system fn output to use the called fn name rather than \ 
defaulting to system
    added in passing parameters to the nift run command with variables 'argc' \ 
(int) and 'argv' (vector<string>)

Nift (aka nsm) v2.4.7

Release Notes:
    Reverted to handling @fns with f++, too ingrained in the codebase
    Reverted to calling sys call on whole line for zero param functions
    Reverted to breaking at non-escaped @'s when reading function names
    Fixed up allowing for ';' at end of statements (hopefully no bugs/undesirable
    features), though any potential system call will be called on whole line for
    possibly multiple statements, use a new line if needed
    cleaned up (hopefully) language choice with interactive REPL's (both interp \ 
and sh) and run
    Ubuntu.zip

Nift (aka nsm) v2.4.6

Release Notes:
    Initialised all bLineNo's to zero (started getting warnings on OSX)
    Fixed up "run commands" in-built scripts from last version to \ 
handle language names as well as chars for script extensions
    Added skip_whitespace fn to clean Parser.cpp codebase up a little bit
    Can now optionally use fn in place of function, mostly intended for \ 
interpreter/shell sessions

Nift (aka nsm) v2.4.5

Release Notes:
    You can now do nift sh/interp lang and provided lang starts with the same \ 
char as the language you are specifying the prompt will match
    Added prompt.char(string) command
    Added in global $[cmd]rc.$[langChar] "run command" support on \ 
start of an interpreter or shell session
    Added in local .nsm/[interp/sh].$[langChar] "run command" support \ 
on start of an interpreter or shell session
    Added in treating a single parameter for f++/n++/lua/exprtk function calls \ 
as a file-path to a file
    Added in exprtk.file function to read and process ExprTk code at the \ 
file-path specified parameter
    Added in f/file option for exprtk and exprtk.compile functions*

Nift (aka nsm) v2.4.4

Release Notes:
    Built-in improvements of unnecessarily repetitious code for lolcat-cc
    Fixed $() syntax to hopefully not conflict with common bash code
    Added lolcat.cmd and lolcat.status functions
    Added alternative inj option for sys/system calls for terminal/cmd line brevity

Nift (aka nsm) v2.4.3

Release Notes:
    Fixed lolcat bug - it was a missing a space between nift/nsm and adding \ 
lolcat-cc in lolcat_init
    Improved escape code handling for lolcat-cc, now seems to work for most \ 
animations
    Stopped Nift from creating hash info files wherever it runs a script (anyone \ 
remember what that code is for?)

Nift (aka nsm) v2.4.2

Release Notes:
    fixed some rather embarrassing bugs for initialising projects

Nift (aka nsm) v2.4.1

Release Notes:
    added duplicate Nift commands edit/open for opening files from page names
    added duplicate Nift commands medit/mopen for opening files for a specific \ 
page name from mirror directories
    added Nift command mbcp for running build-commit-push on multiple mirrors

Nift (aka nsm) v2.4.0

Release Notes:
    added some general 'unknown error' try-catch blocks to help avoid REPL \ 
sessions fully crashing
    made a few alterations to FixIndenting.cpp including a sterm "use at \ 
your own risk" warning.
    fixed a bunch of bugs and added a few try-catch blocks to catch unknown bugs \ 
without crashing
    removed info-config command (can now use Nift to open the config files!)

Nift (aka nsm) v2.3.13

Release Notes:
    added program with makefile option to clean up indenting for source code
    fixed indenting whitespace for the Makefile
    fixed major bug with reading blocks (both bracketed and non-bracketed)
    patched (ie. reverted LDFLAGS to LINK) makefile for FreeBSD and Gentoo
    cleaned up various ways of using lolcat with Nift
    added native support for external lolcat programs using lolcat.on(lolcat_command)
    (breaking change sorry) had to change to $ before grave accent ExprTk \ 
expressions so that functionstein works better as both a scripting extension \ 
language and a shell extension language, especially for flashell (hopefully not \ 
an issue when using Nift with perl or anything else)
    (breaking change sorry) no longer require @ in front of grave accent ExprTk \ 
expressions

Nift (aka nsm) v2.3.12

Release Notes:
    one liner fix of not reading terminal config string quoted
    added nsm config global/project command to open config file with configured \ 
editor
    added improved mod fn from lolcat-cc to Lolcat.cpp
    added parameter option for lolcat.on to specify which lolcat command to use

Nift (aka nsm) v2.3.11

Release Notes:
    added config support for number of pagination threads
    have changed to leaving instances of '@' with functionstein (f++) (fixes \ 
using @, eg. cloning from bitbucket)
    ran a* regression on read block code (python gang assemble)
   2023-02-24 22:37:06 by Havard Eidnes | Files touched by this commit (1)
Log message:
Add mk/atomic64.mk since that's needed here.  Fixes build on macppc.
   2021-10-26 13:31:15 by Nia Alarie | Files touched by this commit (1030)
Log message:
www: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Not committed (merge conflicts):
www/nghttp2/distinfo

Unfetchable distfiles (almost certainly fetched conditionally...):
./www/nginx-devel/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx-devel/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx-devel/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx-devel/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx-devel/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx-devel/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx-devel/distinfo naxsi-1.3.tar.gz
./www/nginx-devel/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx-devel/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx-devel/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx-devel/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx-devel/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx-devel/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx-devel/distinfo njs-0.5.0.tar.gz
./www/nginx-devel/distinfo set-misc-nginx-module-0.32.tar.gz
./www/nginx/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx/distinfo naxsi-1.3.tar.gz
./www/nginx/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx/distinfo njs-0.5.0.tar.gz
./www/nginx/distinfo set-misc-nginx-module-0.32.tar.gz
   2021-10-07 17:09:00 by Nia Alarie | Files touched by this commit (1033)
Log message:
www: Remove SHA1 hashes for distfiles
   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)
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