head 1.3; access; symbols pkgsrc-2026Q1:1.3.0.70 pkgsrc-2026Q1-base:1.3 pkgsrc-2025Q4:1.3.0.68 pkgsrc-2025Q4-base:1.3 pkgsrc-2025Q3:1.3.0.66 pkgsrc-2025Q3-base:1.3 pkgsrc-2025Q2:1.3.0.64 pkgsrc-2025Q2-base:1.3 pkgsrc-2025Q1:1.3.0.62 pkgsrc-2025Q1-base:1.3 pkgsrc-2024Q4:1.3.0.60 pkgsrc-2024Q4-base:1.3 pkgsrc-2024Q3:1.3.0.58 pkgsrc-2024Q3-base:1.3 pkgsrc-2024Q2:1.3.0.56 pkgsrc-2024Q2-base:1.3 pkgsrc-2024Q1:1.3.0.54 pkgsrc-2024Q1-base:1.3 pkgsrc-2023Q4:1.3.0.52 pkgsrc-2023Q4-base:1.3 pkgsrc-2023Q3:1.3.0.50 pkgsrc-2023Q3-base:1.3 pkgsrc-2023Q2:1.3.0.48 pkgsrc-2023Q2-base:1.3 pkgsrc-2023Q1:1.3.0.46 pkgsrc-2023Q1-base:1.3 pkgsrc-2022Q4:1.3.0.44 pkgsrc-2022Q4-base:1.3 pkgsrc-2022Q3:1.3.0.42 pkgsrc-2022Q3-base:1.3 pkgsrc-2022Q2:1.3.0.40 pkgsrc-2022Q2-base:1.3 pkgsrc-2022Q1:1.3.0.38 pkgsrc-2022Q1-base:1.3 pkgsrc-2021Q4:1.3.0.36 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.34 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.32 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.3.0.30 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.3.0.28 pkgsrc-2020Q4-base:1.3 pkgsrc-2020Q3:1.3.0.26 pkgsrc-2020Q3-base:1.3 pkgsrc-2020Q2:1.3.0.22 pkgsrc-2020Q2-base:1.3 pkgsrc-2020Q1:1.3.0.2 pkgsrc-2020Q1-base:1.3 pkgsrc-2019Q4:1.3.0.24 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.3.0.20 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.18 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.16 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.14 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.12 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.10 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.8 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.6 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.4 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.2.0.34 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.32 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.30 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.28 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.26 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.24 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.2.0.22 pkgsrc-2015Q4-base:1.2 pkgsrc-2015Q3:1.2.0.20 pkgsrc-2015Q3-base:1.2 pkgsrc-2015Q2:1.2.0.18 pkgsrc-2015Q2-base:1.2 pkgsrc-2015Q1:1.2.0.16 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.14 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.12 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.10 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.8 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.6 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.4 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.2 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.1.1.1.0.12 pkgsrc-2013Q1-base:1.1.1.1 pkgsrc-2012Q4:1.1.1.1.0.10 pkgsrc-2012Q4-base:1.1.1.1 pkgsrc-2012Q3:1.1.1.1.0.8 pkgsrc-2012Q3-base:1.1.1.1 pkgsrc-2012Q2:1.1.1.1.0.6 pkgsrc-2012Q2-base:1.1.1.1 pkgsrc-2012Q1:1.1.1.1.0.4 pkgsrc-2012Q1-base:1.1.1.1 pkgsrc-2011Q4:1.1.1.1.0.2 pkgsrc-2011Q4-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.3 date 2017.07.30.22.32.12; author wiz; state Exp; branches; next 1.2; commitid gjZWVQWOLKneVi1A; 1.2 date 2013.04.06.03.45.08; author rodent; state Exp; branches; next 1.1; 1.1 date 2011.12.17.17.24.43; author taca; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2011.12.17.17.24.43; author taca; state Exp; branches; next ; desc @@ 1.3 log @Switch github HOMEPAGEs to https. @ text @# $NetBSD: Makefile,v 1.2 2013/04/06 03:45:08 rodent Exp $ DISTNAME= dm-is-nested_set-1.2.0 CATEGORIES= databases MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= https://github.com/datamapper/dm-is-nested_set COMMENT= DataMapper plugin for creating nested sets from data models LICENSE= mit DEPENDS+= ${RUBY_PKGPREFIX}-dm-adjust>=1.2.0<1.3:../../databases/ruby-dm-adjust .include "../../lang/ruby/gem.mk" .include "../../mk/bsd.pkg.mk" @ 1.2 log @Fixes: COMMENT should not be longer than 70 characters. COMMENT should not begin with 'A'. COMMENT should not begin with 'An'. COMMENT should not begin with 'a'. COMMENT should not end with a period. COMMENT should start with a capital letter. pkglint warnings. Some files also got minor formatting, spelling, and style corrections. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2011/12/17 17:24:43 taca Exp $ d7 1 a7 1 HOMEPAGE= http://github.com/datamapper/dm-is-nested_set @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d8 1 a8 1 COMMENT= DataMapper plugin allowing the creation of nested sets from data models @ 1.1.1.1 log @Importing databases/ruby-dm-is-nested_set package version 1.2.0. DataMapper plugin allowing the creation of nested sets from data models. Provides all the same functionality as dm-is-tree, plus tons more! Read on. == What is a nested set? Nested set is a clever model for storing hierarchical data in a flat table. Instead of (only) storing the id of the parent on each node, a nested set puts all nodes in a clever structure (see Example below). That is what makes it possible to get the all of the descendants (not only immediate children), ancestors, or siblings, in one single query to the database. The only downside to nested sets (compared to trees] is that the queries it takes to know these things, and to move nodes around in the tree are rather complex. That is what this plugin takes care of (+ lots of other neat stuff)! Nested sets are a good choice for most kinds of ordered trees with more than two levels of nesting. Very good for menus, categories, and threaded posts. @ text @@