<commit_before><registry>
  <components>
    <component type="disk-consumer"
               base="flumotion/component/consumers/disker"
               description="Archives a stream to disk.">
      <source location="flumotion.component.consumers.disker.disker" />

      <eater name="default" />

      <entries>
        <entry type="component" location="disker.py"
               function="Disker" />
        <entry type="admin/gtk" location="admin_gtk.py"
               function="GUIClass" />
        <entry type="admin/text" location="admin_text.py"
              function="UIClass" />
      </entries>
      
      <properties>
        <property name="directory" type="string" required="yes" />
        <property name="rotate-type" type="string" required="no"
                  description="'size', 'time', or 'none' (default 'none')" />
        <property name="size" type="long"
                  description="Maximum size of each file (in bytes)" />
        <property name="time" type="long"
                  description="Maximum duration of each file (in seconds)" />
        <property name="start-recording" type="bool" required="no" />
        <property name="symlink-to-last-recording" type="string" required="no" />
        <property name="symlink-to-current-recording" type="string" required="no" />
        <property name="ical-schedule" type="string" required="no" />
        <property name="filename" type="string" required="no" />
        <property name="react-to-stream-markers" type="bool" required="no"
                  description="Start/stop the disker when stream marker events are received"/>
        <property name="stream-marker-filename-prefix" type="string"
                  required="no" description="Formatting template for program id (default '%03d.')" />
      </properties>
    </component>
  </components>

  <bundles>
    <bundle name="disker-base">
        <dependencies>
            <dependency name="component-base" />
        </dependencies>

        <directories>
            <directory name="flumotion/component/consumers/disker">
                <filename location="__init__.py" />
            </directory>
        </directories>
    </bundle>

    <bundle name="disker-admin-gtk">
        <dependencies>
            <dependency name="base-admin-gtk"/>
	        <dependency name="disker-base"/>
        </dependencies>
        
        <directories>
            <directory name="flumotion/component/consumers/disker">
                <filename location="admin_gtk.py"/>
                <filename location="disker.glade"/>
            </directory>
        </directories>
    </bundle>

    <bundle name="disker-admin-text">
        <dependencies>
                <dependency name="base-admin-text"/>
                <dependency name="disker-base"/>
        </dependencies>

        <directories>
                <directory name="flumotion/component/consumers/disker">
                        <filename location="admin_text.py" />
                </directory>
        </directories>
    </bundle>

    <bundle name="disker-component">
        <dependencies>
            <dependency name="component"/>
            <dependency name="disker-base"/>
	    <dependency name="base-scheduler"/>
        </dependencies>

        <directories>
            <directory name="flumotion/component/consumers/disker">
                <filename location="disker.py"/>
            </directory>
        </directories>
     </bundle>
  </bundles>

</registry> 
  
<commit_msg>Don't forget the space before a closing bracket.<commit_after><registry>
  <components>
    <component type="disk-consumer"
               base="flumotion/component/consumers/disker"
               description="Archives a stream to disk.">
      <source location="flumotion.component.consumers.disker.disker" />

      <eater name="default" />

      <entries>
        <entry type="component" location="disker.py"
               function="Disker" />
        <entry type="admin/gtk" location="admin_gtk.py"
               function="GUIClass" />
        <entry type="admin/text" location="admin_text.py"
              function="UIClass" />
      </entries>
      
      <properties>
        <property name="directory" type="string" required="yes" />
        <property name="rotate-type" type="string" required="no"
                  description="'size', 'time', or 'none' (default 'none')" />
        <property name="size" type="long"
                  description="Maximum size of each file (in bytes)" />
        <property name="time" type="long"
                  description="Maximum duration of each file (in seconds)" />
        <property name="start-recording" type="bool" required="no" />
        <property name="symlink-to-last-recording" type="string" required="no" />
        <property name="symlink-to-current-recording" type="string" required="no" />
        <property name="ical-schedule" type="string" required="no" />
        <property name="filename" type="string" required="no" />
        <property name="react-to-stream-markers" type="bool" required="no"
                  description="Start/stop the disker when stream marker events are received" />
        <property name="stream-marker-filename-prefix" type="string"
                  required="no" description="Formatting template for program id (default '%03d.')" />
      </properties>
    </component>
  </components>

  <bundles>
    <bundle name="disker-base">
        <dependencies>
            <dependency name="component-base" />
        </dependencies>

        <directories>
            <directory name="flumotion/component/consumers/disker">
                <filename location="__init__.py" />
            </directory>
        </directories>
    </bundle>

    <bundle name="disker-admin-gtk">
        <dependencies>
            <dependency name="base-admin-gtk"/>
	        <dependency name="disker-base"/>
        </dependencies>
        
        <directories>
            <directory name="flumotion/component/consumers/disker">
                <filename location="admin_gtk.py"/>
                <filename location="disker.glade"/>
            </directory>
        </directories>
    </bundle>

    <bundle name="disker-admin-text">
        <dependencies>
                <dependency name="base-admin-text"/>
                <dependency name="disker-base"/>
        </dependencies>

        <directories>
                <directory name="flumotion/component/consumers/disker">
                        <filename location="admin_text.py" />
                </directory>
        </directories>
    </bundle>

    <bundle name="disker-component">
        <dependencies>
            <dependency name="component"/>
            <dependency name="disker-base"/>
	    <dependency name="base-scheduler"/>
        </dependencies>

        <directories>
            <directory name="flumotion/component/consumers/disker">
                <filename location="disker.py"/>
            </directory>
        </directories>
     </bundle>
  </bundles>

</registry> 
  

{'fraction_non_alphanumeric': 0.14155770324047753, 'fraction_numerical': 0.0005685048322910744, 'mean_word_length': 2.13871543264942, 'pattern_counts': {'":': 0, '<': 149, '<?xml version=': 0, '>': 149, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '2004726', 'n_tokens_mistral': 1922, 'n_tokens_neox': 1815, 'n_words': 365}