<commit_before>﻿using System;
using Orchard.Environment;
using Orchard.Environment.Extensions;
using Orchard.Environment.Extensions.Models;
using Orchard.Localization;
using Orchard.Packaging.Services;
using Orchard.UI.Notify;

namespace Orchard.Packaging {
    [OrchardFeature("Gallery")]
    public class DefaultPackagingUpdater : IFeatureEventHandler {
        private readonly IPackagingSourceManager _packagingSourceManager;
        private readonly INotifier _notifier;

        public DefaultPackagingUpdater(IPackagingSourceManager packagingSourceManager, INotifier notifier) {
            _packagingSourceManager = packagingSourceManager;
            _notifier = notifier;
        }

        public Localizer T { get; set; }

        public void Install(Feature feature) {
            _packagingSourceManager.AddSource(new PackagingSource { Id = Guid.NewGuid(), FeedTitle = "Orchard Module Gallery", FeedUrl = "http://orchardproject.net/gallery/feed" });
        }

        public void Enable(Feature feature) {
        }

        public void Disable(Feature feature) {
        }

        public void Uninstall(Feature feature) {
        }
    }
}<commit_msg>Change the feed url to the new url for 0.8<commit_after>﻿using System;
using Orchard.Environment;
using Orchard.Environment.Extensions;
using Orchard.Environment.Extensions.Models;
using Orchard.Localization;
using Orchard.Packaging.Services;
using Orchard.UI.Notify;

namespace Orchard.Packaging {
    [OrchardFeature("Gallery")]
    public class DefaultPackagingUpdater : IFeatureEventHandler {
        private readonly IPackagingSourceManager _packagingSourceManager;
        private readonly INotifier _notifier;

        public DefaultPackagingUpdater(IPackagingSourceManager packagingSourceManager, INotifier notifier) {
            _packagingSourceManager = packagingSourceManager;
            _notifier = notifier;
        }

        public Localizer T { get; set; }

        public void Install(Feature feature) {
            _packagingSourceManager.AddSource(new PackagingSource { Id = Guid.NewGuid(), FeedTitle = "Orchard Module Gallery", FeedUrl = "http://orchardproject.net/gallery08/feed" });
        }

        public void Enable(Feature feature) {
        }

        public void Disable(Feature feature) {
        }

        public void Uninstall(Feature feature) {
        }
    }
}
{'fraction_non_alphanumeric': 0.07562315166877905, 'fraction_numerical': 0.0016899028305872412, 'mean_word_length': 3.297640653357532, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1694754', 'n_tokens_mistral': 643, 'n_tokens_neox': 605, 'n_words': 147}