<commit_before>/*
   Copyright 2014-2022 SourceGear, LLC

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
*/

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml;

public static class gen
{
    public const string ROOT_NAME = "SQLitePCLRaw";

    public const int MAJOR_VERSION = 2;
    public const int MINOR_VERSION = 1;
    public const int PATCH_VERSION = 0;

    // a version string with a -pre-timestamp in it
    public static string NUSPEC_VERSION_PRE_TIMESTAMP = string.Format("{0}.{1}.{2}-pre{3}",
        MAJOR_VERSION,
        MINOR_VERSION,
        PATCH_VERSION,
        DateTime.Now.ToString("yyyyMMddHHmmss")
        );

    // a version string with -pre
    public static string NUSPEC_VERSION_PRE = string.Format("{0}.{1}.{2}-pre",
        MAJOR_VERSION,
        MINOR_VERSION,
        PATCH_VERSION
        );

    // a version string for release, with no -pre
    public static string NUSPEC_VERSION_RELEASE = string.Format("{0}.{1}.{2}",
        MAJOR_VERSION,
        MINOR_VERSION,
        PATCH_VERSION
        );

    // keep one of the following 3
    public static string NUSPEC_VERSION = NUSPEC_VERSION_PRE_TIMESTAMP;
    //public static string NUSPEC_VERSION = NUSPEC_VERSION_PRE;
    //public static string NUSPEC_VERSION = NUSPEC_VERSION_RELEASE;

    public static string ASSEMBLY_VERSION = string.Format("{0}.{1}.{2}.{3}",
        MAJOR_VERSION,
        MINOR_VERSION,
        PATCH_VERSION,
        (int)((DateTime.Now - new DateTime(2018, 1, 1)).TotalDays)
        );
<commit_msg>update version number to 2.1.0<commit_after>/*
   Copyright 2014-2022 SourceGear, LLC

   Licensed under the Apache License, Version 2.0 (the "License");
   you may not use this file except in compliance with the License.
   You may obtain a copy of the License at

       http://www.apache.org/licenses/LICENSE-2.0

   Unless required by applicable law or agreed to in writing, software
   distributed under the License is distributed on an "AS IS" BASIS,
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   See the License for the specific language governing permissions and
   limitations under the License.
*/

using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Xml;

public static class gen
{
    public const string ROOT_NAME = "SQLitePCLRaw";

    public const int MAJOR_VERSION = 2;
    public const int MINOR_VERSION = 1;
    public const int PATCH_VERSION = 0;

    // a version string with a -pre-timestamp in it
    public static string NUSPEC_VERSION_PRE_TIMESTAMP = string.Format("{0}.{1}.{2}-pre{3}",
        MAJOR_VERSION,
        MINOR_VERSION,
        PATCH_VERSION,
        DateTime.Now.ToString("yyyyMMddHHmmss")
        );

    // a version string with -pre
    public static string NUSPEC_VERSION_PRE = string.Format("{0}.{1}.{2}-pre",
        MAJOR_VERSION,
        MINOR_VERSION,
        PATCH_VERSION
        );

    // a version string for release, with no -pre
    public static string NUSPEC_VERSION_RELEASE = string.Format("{0}.{1}.{2}",
        MAJOR_VERSION,
        MINOR_VERSION,
        PATCH_VERSION
        );

    // keep one of the following 3
    //public static string NUSPEC_VERSION = NUSPEC_VERSION_PRE_TIMESTAMP;
    //public static string NUSPEC_VERSION = NUSPEC_VERSION_PRE;
    public static string NUSPEC_VERSION = NUSPEC_VERSION_RELEASE;

    public static string ASSEMBLY_VERSION = string.Format("{0}.{1}.{2}.{3}",
        MAJOR_VERSION,
        MINOR_VERSION,
        PATCH_VERSION,
        (int)((DateTime.Now - new DateTime(2018, 1, 1)).TotalDays)
        );

{'fraction_non_alphanumeric': 0.08576246687545169, 'fraction_numerical': 0.018067935437244036, 'mean_word_length': 2.9355450236966822, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5605337', 'n_tokens_mistral': 1284, 'n_tokens_neox': 1216, 'n_words': 398}