⌈⌋ ⎇ branch:  freshcode


Check-in [bba6d0fc18]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Marked state_tag and scope_tags as static.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: bba6d0fc18daed6d541c309a8764ad1996bf8892
User & Date: mario 2015-04-15 15:12:23
Context
2015-04-15
15:13
Prepared default filter for short project `summary` field. Limited to 200 chars in the DB, but just 160 for current usage. (Still needs UI/submit form integration anyway.) check-in: a1206e67e3 user: mario tags: trunk
15:12
Marked state_tag and scope_tags as static. check-in: bba6d0fc18 user: mario tags: trunk
15:11
Removed spurious $_SESSION dumping. check-in: 2a72d8ceec user: mario tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to tags.php.

794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
    }


    /**
     * Extract typical release tags.
     *
     */
    function scope_tags($s) {
        preg_match_all("/major|minor|bugfix|feature|security|documentation|hidden|cleanup/i", strtolower($s), $uu);
        return join(" ", array_unique($uu[0]));
    }

    /**
     * Extract typical release tags.
     *
     */
    function state_tag($s) {
        preg_match_all("/initial|alpha|beta|development|prerelease|stable|mature|historic/i", strtolower($s), $uu);
        return isset($uu[0][0]) ? $uu[0][0] : "";
    }

}




?>







|








|










794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
    }


    /**
     * Extract typical release tags.
     *
     */
    static function scope_tags($s) {
        preg_match_all("/major|minor|bugfix|feature|security|documentation|hidden|cleanup/i", strtolower($s), $uu);
        return join(" ", array_unique($uu[0]));
    }

    /**
     * Extract typical release tags.
     *
     */
    static function state_tag($s) {
        preg_match_all("/initial|alpha|beta|development|prerelease|stable|mature|historic/i", strtolower($s), $uu);
        return isset($uu[0][0]) ? $uu[0][0] : "";
    }

}




?>