<commit_before><% css_dir = File.join(File.dirname(__FILE__), "../../../../../stylesheets/") %>

<%= stylesheet_link_tag "structure/reset.css" %>

<!-- Structure css -->
<%= stylesheet_link_tag "structure/application.css" %>

<!-- Main css -->
<% if use_compressed_js? %>
    <%= stylesheet_link_tag "all.css" %>
<% else %>
    <!-- LEGACY Structure css, TODO: migrate these to structure/application.css and patterns -->
    <%= stylesheet_link_tag "main", "layout", "structure", "ie_hacks" %>
    <!-- END - LEGACY Structure css, TODO: migrate these to structure/application.css and patterns -->

    <!-- LEGACY Module pieces css, TODO: migrate these to patterns/plugins/views-->
    <%= stylesheet_link_tag "module.css"%>
    <!-- END - LEGACY Module pieces css, TODO: migrate these to patterns/plugins/views-->
<% end %>

<!-- Plugins css -->
<% if use_compressed_js? %>
    <%= stylesheet_link_tag "plugins/plugins.css" %>
<% else %>
    <!-- Plugins css -->
    <%= stylesheet_link_tag "plugins/treeview.css",
                            "plugins/jquery.autocomplete.css"
    %>
<% end %>

<!-- Patterns css -->
<% if use_compressed_js? %>
    <%= stylesheet_link_tag "patterns/patterns.css" %>
<% else %>
    <% styles =           [ "patterns/action_icons.css",
                            "patterns/buttons.css",
                            "patterns/dropdowns.css",
                            "patterns/forms.css",
                            "patterns/messages.css",
                            "patterns/modalbox.css",
                            "patterns/status_visualizations.css",
                            "patterns/tables.css",
                            "patterns/tabs.css",
                            "patterns/titles.css",
                            "patterns/tooltips.css",
                            "patterns/wizard_steps.css"]

        File.open(File.join(css_dir, 'patterns/patterns.css'), 'w') do |all_css|
            styles.each do |style|
              all_css.puts(File.read(File.join(css_dir, style)))
            end
        end
    %>
    <%= stylesheet_link_tag "patterns/patterns.css" %>
<% end %>

<!-- Views css -->
<% if use_compressed_js? %>
    <%= stylesheet_link_tag "views/views.css" %>
<% else %>
    <% styles =           [ "views/admin_jobs.css",
                            "views/admin_materials.css",
                            "views/admin_materials_dependency.css",
                            "views/admin_materials_git.css",
                            "views/admin_materials_hg.css",
                            "views/admin_materials_p4.css",
                            "views/admin_materials_shared.css",
                            "views/admin_materials_svn.css",
                            "views/admin_pipeline_groups.css",
                            "views/admin_pipelines_snippet.css",
                            "views/admin_pipelines.css",
                            "views/admin_pipelines_materials.css",
                            "views/admin_shared.css",
                            "views/admin_stages.css",
                            "views/admin_tasks.css",
                            "views/admin_tasks_ant.css",
                            "views/admin_tasks_exec.css",
                            "views/admin_tasks_fetch.css",
                            "views/admin_tasks_nant.css",
                            "views/admin_tasks_rake.css",
                            "views/admin_tasks_shared.css",
                            "views/admin_templates.css",
                            "views/admin_user_roles.css",
                            "views/shared_go_license_about_to_expire.css",
                            "views/agents.css",
                            "views/backup.css",
                            "views/comparison.css",
                            "views/config_server.css",
                            "views/environments.css",
                            "views/failures.css",
                            "views/gadgets_pipeline.css",
                            "views/pipelines.css",
                            "views/server.css",
                            "views/shared.css",
                            "views/stages.css",
                            "views/users.css"]

        File.open(File.join(css_dir, 'views/views.css'), 'w') do |all_css|
            styles.each do |style|
              all_css.puts(File.read(File.join(css_dir, style)))
            end
        end
    %>
    <%= stylesheet_link_tag "views/views.css" %>
<% end %>

<!-- less-to-css -->
<% if use_compressed_js? %>
    <%= stylesheet_link_tag "css_sass/css_sass.css" %>
<% else %>
    <% styles = [
            "css_sass/base/mixins.css",
            "css_sass/base/reset-g9.css",
            "css_sass/base/sprites.css",
            "css_sass/base/variables.css",
            "css_sass/components/alerts.css",
            "css_sass/components/labels-badges.css",
            "css_sass/components/messages.css",
            "css_sass/components/navbar.css",
            "css_sass/components/pagination.css",
            "css_sass/components/treenav.css",
            "css_sass/components/wizard.css",
            "css_sass/gadgets/breadcrumb.css",
            "css_sass/gadgets/button-groups.css",
            "css_sass/gadgets/docked-toolbar.css",
            "css_sass/gadgets/dropdowns.css",
            "css_sass/gadgets/forms.css",
            "css_sass/gadgets/layouts.css",
            "css_sass/gadgets/modals.css",
            "css_sass/gadgets/popovers.css",
            "css_sass/gadgets/progress-bars.css",
            "css_sass/gadgets/scaffolding.css",
            "css_sass/gadgets/tabs.css",
            "css_sass/gadgets/tooltip.css",
            "css_sass/global/layout.css",
            "css_sass/global/reset.css",
            "css_sass/global/responsive.css",
            "css_sass/global/typography.css",
            "css_sass/go-pages/agent.css",
            "css_sass/go-pages/admin.css",
            "css_sass/go-pages/plugin-infra.css",
            "css_sass/go-pages/admin/templates.css",
            "css_sass/go-pages/vsm.css",
            "css_sass/go-pages/history-panel.css",
            "css_sass/go-pages/pipeline.css"
        ]

        File.open(File.join(css_dir, 'css_sass/css_sass.css'), 'w') do |all_css|
            styles.each do |style|
                all_css.puts(File.read(File.join(css_dir, style)))
            end
        end
    %>
<%= stylesheet_link_tag "css_sass/css_sass.css" %>
<% end %><commit_msg>putting structure/application.css after all.css to retain previous load order<commit_after><% css_dir = File.join(File.dirname(__FILE__), "../../../../../stylesheets/") %>

<%= stylesheet_link_tag "structure/reset.css" %>

<!-- Main css -->
<% if use_compressed_js? %>
    <%= stylesheet_link_tag "all.css" %>
<% else %>
    <!-- LEGACY Structure css, TODO: migrate these to structure/application.css and patterns -->
    <%= stylesheet_link_tag "main", "layout", "structure", "ie_hacks" %>
    <!-- END - LEGACY Structure css, TODO: migrate these to structure/application.css and patterns -->

    <!-- LEGACY Module pieces css, TODO: migrate these to patterns/plugins/views-->
    <%= stylesheet_link_tag "module.css"%>
    <!-- END - LEGACY Module pieces css, TODO: migrate these to patterns/plugins/views-->
<% end %>

<!-- Structure css -->
<%= stylesheet_link_tag "structure/application.css" %>

<!-- Plugins css -->
<% if use_compressed_js? %>
    <%= stylesheet_link_tag "plugins/plugins.css" %>
<% else %>
    <!-- Plugins css -->
    <%= stylesheet_link_tag "plugins/treeview.css",
                            "plugins/jquery.autocomplete.css"
    %>
<% end %>

<!-- Patterns css -->
<% if use_compressed_js? %>
    <%= stylesheet_link_tag "patterns/patterns.css" %>
<% else %>
    <% styles =           [ "patterns/action_icons.css",
                            "patterns/buttons.css",
                            "patterns/dropdowns.css",
                            "patterns/forms.css",
                            "patterns/messages.css",
                            "patterns/modalbox.css",
                            "patterns/status_visualizations.css",
                            "patterns/tables.css",
                            "patterns/tabs.css",
                            "patterns/titles.css",
                            "patterns/tooltips.css",
                            "patterns/wizard_steps.css"]

        File.open(File.join(css_dir, 'patterns/patterns.css'), 'w') do |all_css|
            styles.each do |style|
              all_css.puts(File.read(File.join(css_dir, style)))
            end
        end
    %>
    <%= stylesheet_link_tag "patterns/patterns.css" %>
<% end %>

<!-- Views css -->
<% if use_compressed_js? %>
    <%= stylesheet_link_tag "views/views.css" %>
<% else %>
    <% styles =           [ "views/admin_jobs.css",
                            "views/admin_materials.css",
                            "views/admin_materials_dependency.css",
                            "views/admin_materials_git.css",
                            "views/admin_materials_hg.css",
                            "views/admin_materials_p4.css",
                            "views/admin_materials_shared.css",
                            "views/admin_materials_svn.css",
                            "views/admin_pipeline_groups.css",
                            "views/admin_pipelines_snippet.css",
                            "views/admin_pipelines.css",
                            "views/admin_pipelines_materials.css",
                            "views/admin_shared.css",
                            "views/admin_stages.css",
                            "views/admin_tasks.css",
                            "views/admin_tasks_ant.css",
                            "views/admin_tasks_exec.css",
                            "views/admin_tasks_fetch.css",
                            "views/admin_tasks_nant.css",
                            "views/admin_tasks_rake.css",
                            "views/admin_tasks_shared.css",
                            "views/admin_templates.css",
                            "views/admin_user_roles.css",
                            "views/shared_go_license_about_to_expire.css",
                            "views/agents.css",
                            "views/backup.css",
                            "views/comparison.css",
                            "views/config_server.css",
                            "views/environments.css",
                            "views/failures.css",
                            "views/gadgets_pipeline.css",
                            "views/pipelines.css",
                            "views/server.css",
                            "views/shared.css",
                            "views/stages.css",
                            "views/users.css"]

        File.open(File.join(css_dir, 'views/views.css'), 'w') do |all_css|
            styles.each do |style|
              all_css.puts(File.read(File.join(css_dir, style)))
            end
        end
    %>
    <%= stylesheet_link_tag "views/views.css" %>
<% end %>

<!-- less-to-css -->
<% if use_compressed_js? %>
    <%= stylesheet_link_tag "css_sass/css_sass.css" %>
<% else %>
    <% styles = [
            "css_sass/base/mixins.css",
            "css_sass/base/reset-g9.css",
            "css_sass/base/sprites.css",
            "css_sass/base/variables.css",
            "css_sass/components/alerts.css",
            "css_sass/components/labels-badges.css",
            "css_sass/components/messages.css",
            "css_sass/components/navbar.css",
            "css_sass/components/pagination.css",
            "css_sass/components/treenav.css",
            "css_sass/components/wizard.css",
            "css_sass/gadgets/breadcrumb.css",
            "css_sass/gadgets/button-groups.css",
            "css_sass/gadgets/docked-toolbar.css",
            "css_sass/gadgets/dropdowns.css",
            "css_sass/gadgets/forms.css",
            "css_sass/gadgets/layouts.css",
            "css_sass/gadgets/modals.css",
            "css_sass/gadgets/popovers.css",
            "css_sass/gadgets/progress-bars.css",
            "css_sass/gadgets/scaffolding.css",
            "css_sass/gadgets/tabs.css",
            "css_sass/gadgets/tooltip.css",
            "css_sass/global/layout.css",
            "css_sass/global/reset.css",
            "css_sass/global/responsive.css",
            "css_sass/global/typography.css",
            "css_sass/go-pages/agent.css",
            "css_sass/go-pages/admin.css",
            "css_sass/go-pages/plugin-infra.css",
            "css_sass/go-pages/admin/templates.css",
            "css_sass/go-pages/vsm.css",
            "css_sass/go-pages/history-panel.css",
            "css_sass/go-pages/pipeline.css"
        ]

        File.open(File.join(css_dir, 'css_sass/css_sass.css'), 'w') do |all_css|
            styles.each do |style|
                all_css.puts(File.read(File.join(css_dir, style)))
            end
        end
    %>
<%= stylesheet_link_tag "css_sass/css_sass.css" %>
<% end %>
{'fraction_non_alphanumeric': 0.13498936493467031, 'fraction_numerical': 0.00030385900941962927, 'mean_word_length': 1.4598281016442451, 'pattern_counts': {'":': 0, '<': 89, '<?xml version=': 0, '>': 89, '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': '414550', 'n_tokens_mistral': 4087, 'n_tokens_neox': 3897, 'n_words': 464}