Skip to content

Commit 37bacdb

Browse files
authored
Merge pull request #2008 from fmease/rm-glacier-integration
Remove `glacier` integration
2 parents 7358b55 + d76d13a commit 37bacdb

File tree

5 files changed

+0
-207
lines changed

5 files changed

+0
-207
lines changed

parser/src/command.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ use regex::Regex;
55

66
pub mod assign;
77
pub mod close;
8-
pub mod glacier;
98
pub mod nominate;
109
pub mod note;
1110
pub mod ping;
@@ -23,7 +22,6 @@ pub enum Command<'a> {
2322
Nominate(Result<nominate::NominateCommand, Error<'a>>),
2423
Prioritize(Result<prioritize::PrioritizeCommand, Error<'a>>),
2524
Second(Result<second::SecondCommand, Error<'a>>),
26-
Glacier(Result<glacier::GlacierCommand, Error<'a>>),
2725
Shortcut(Result<shortcut::ShortcutCommand, Error<'a>>),
2826
Close(Result<close::CloseCommand, Error<'a>>),
2927
Note(Result<note::NoteCommand, Error<'a>>),
@@ -119,11 +117,6 @@ impl<'a> Input<'a> {
119117
Command::Second,
120118
&original_tokenizer,
121119
));
122-
success.extend(parse_single_command(
123-
glacier::GlacierCommand::parse,
124-
Command::Glacier,
125-
&original_tokenizer,
126-
));
127120
success.extend(parse_single_command(
128121
shortcut::ShortcutCommand::parse,
129122
Command::Shortcut,
@@ -210,7 +203,6 @@ impl<'a> Command<'a> {
210203
Command::Nominate(r) => r.is_ok(),
211204
Command::Prioritize(r) => r.is_ok(),
212205
Command::Second(r) => r.is_ok(),
213-
Command::Glacier(r) => r.is_ok(),
214206
Command::Shortcut(r) => r.is_ok(),
215207
Command::Close(r) => r.is_ok(),
216208
Command::Note(r) => r.is_ok(),

parser/src/command/glacier.rs

Lines changed: 0 additions & 112 deletions
This file was deleted.

src/config.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ pub(crate) struct Config {
2727
pub(crate) nominate: Option<NominateConfig>,
2828
pub(crate) prioritize: Option<PrioritizeConfig>,
2929
pub(crate) major_change: Option<MajorChangeConfig>,
30-
pub(crate) glacier: Option<GlacierConfig>,
3130
pub(crate) close: Option<CloseConfig>,
3231
pub(crate) autolabel: Option<AutolabelConfig>,
3332
pub(crate) notify_zulip: Option<NotifyZulipConfig>,
@@ -384,10 +383,6 @@ impl MajorChangeConfig {
384383
}
385384
}
386385

387-
#[derive(PartialEq, Eq, Debug, serde::Deserialize)]
388-
#[serde(deny_unknown_fields)]
389-
pub(crate) struct GlacierConfig {}
390-
391386
#[derive(PartialEq, Eq, Debug, serde::Deserialize)]
392387
#[serde(deny_unknown_fields)]
393388
pub(crate) struct CloseConfig {}
@@ -673,7 +668,6 @@ mod tests {
673668
shortcut: Some(ShortcutConfig { _empty: () }),
674669
prioritize: None,
675670
major_change: None,
676-
glacier: None,
677671
close: None,
678672
autolabel: None,
679673
notify_zulip: None,
@@ -752,7 +746,6 @@ mod tests {
752746
shortcut: None,
753747
prioritize: None,
754748
major_change: None,
755-
glacier: None,
756749
close: None,
757750
autolabel: None,
758751
notify_zulip: None,

src/handlers.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ mod check_commits;
3131
mod close;
3232
pub mod docs_update;
3333
mod github_releases;
34-
mod glacier;
3534
mod issue_links;
3635
mod major_change;
3736
mod mentions;
@@ -358,7 +357,6 @@ macro_rules! command_handlers {
358357
// preceded by the module containing the corresponding `handle_command` function
359358
command_handlers! {
360359
assign: Assign,
361-
glacier: Glacier,
362360
nominate: Nominate,
363361
ping: Ping,
364362
prioritize: Prioritize,

src/handlers/glacier.rs

Lines changed: 0 additions & 78 deletions
This file was deleted.

0 commit comments

Comments
 (0)