Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package tiny for openSUSE:Factory checked in at 2022-12-13 18:55:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tiny (Old) and /work/SRC/openSUSE:Factory/.tiny.new.1835 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tiny" Tue Dec 13 18:55:58 2022 rev:5 rq:1042517 version:0.10.0+git14 Changes: -------- --- /work/SRC/openSUSE:Factory/tiny/tiny.changes 2022-09-05 21:22:26.793203516 +0200 +++ /work/SRC/openSUSE:Factory/.tiny.new.1835/tiny.changes 2022-12-13 18:56:07.367413157 +0100 @@ -1,0 +2,13 @@ +Mon Dec 05 22:38:20 UTC 2022 - socvirnyl.est...@gmail.com + +- Update to version 0.10.0+git14: + * Fix new lints and warnings (#394) + +- Automatic update of vendored dependencies. + +------------------------------------------------------------------- +Fri Nov 4 11:48:10 UTC 2022 - Soc Virnyl Estela <socvirnyl.est...@gmail.com> + +- Automatic update of vendored dependencies. + +------------------------------------------------------------------- Old: ---- tiny-0.10.0+git13.tar.xz New: ---- _servicedata tiny-0.10.0+git14.obscpio tiny-0.10.0+git14.tar.xz tiny.obsinfo ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tiny.spec ++++++ --- /var/tmp/diff_new_pack.3oars1/_old 2022-12-13 18:56:08.783420714 +0100 +++ /var/tmp/diff_new_pack.3oars1/_new 2022-12-13 18:56:08.787420736 +0100 @@ -17,7 +17,7 @@ Name: tiny -Version: 0.10.0+git13 +Version: 0.10.0+git14 Release: 0 Summary: Terminal IRC client written in Rust License: (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT) AND (Apache-2.0 OR MIT OR BSD-2-Clause) AND (MIT OR Unlicense) AND Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND ISC AND MIT AND MIT ++++++ _service ++++++ --- /var/tmp/diff_new_pack.3oars1/_old 2022-12-13 18:56:08.819420907 +0100 +++ /var/tmp/diff_new_pack.3oars1/_new 2022-12-13 18:56:08.823420928 +0100 @@ -3,7 +3,7 @@ <param name="url">https://github.com/osa1/tiny</param> <param name="versionformat">@PARENT_TAG@+git@TAG_OFFSET@</param> <param name="scm">git</param> - <param name="revision">52b1383b91f7a064c73d87a5bdac03f62af2b4e8</param> + <param name="revision">9f71ba3d0c271b47e44bd7580b484d9e452352a0</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="versionrewrite-replacement">\1</param> <param name="changesgenerate">enable</param> ++++++ _servicedata ++++++ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/osa1/tiny</param> <param name="changesrevision">9f71ba3d0c271b47e44bd7580b484d9e452352a0</param></service></servicedata> (No newline at EOF) ++++++ tiny-0.10.0+git13.tar.xz -> tiny-0.10.0+git14.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tiny-0.10.0+git13/crates/libtiny_client/src/state.rs new/tiny-0.10.0+git14/crates/libtiny_client/src/state.rs --- old/tiny-0.10.0+git13/crates/libtiny_client/src/state.rs 2022-03-02 08:30:36.000000000 +0100 +++ new/tiny-0.10.0+git14/crates/libtiny_client/src/state.rs 2022-11-11 19:38:52.000000000 +0100 @@ -480,7 +480,7 @@ { i += 1; } - let usermask = (¶m[i..]).trim(); + let usermask = param[i..].trim(); self.usermask = Some(usermask.to_owned()); } } @@ -746,7 +746,7 @@ if msg.len() >= SERVERNAME_PREFIX_LEN && &msg[..SERVERNAME_PREFIX_LEN] == SERVERNAME_PREFIX { let slice1 = &msg[SERVERNAME_PREFIX_LEN..]; let servername_ends = slice1.find('[').or_else(|| slice1.find(','))?; - Some((&slice1[..servername_ends]).to_owned()) + Some(slice1[..servername_ends].to_owned()) } else { None } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tiny-0.10.0+git13/crates/libtiny_client/src/stream.rs new/tiny-0.10.0+git14/crates/libtiny_client/src/stream.rs --- old/tiny-0.10.0+git13/crates/libtiny_client/src/stream.rs 2022-03-02 08:30:36.000000000 +0100 +++ new/tiny-0.10.0+git14/crates/libtiny_client/src/stream.rs 2022-11-11 19:38:52.000000000 +0100 @@ -81,8 +81,6 @@ #[cfg(feature = "tls-rustls")] pub(crate) async fn new_tls(addr: SocketAddr, host_name: &str) -> Result<Stream, StreamError> { - use std::convert::TryFrom; - let tcp_stream = TcpStream::connect(addr).await?; let name = tokio_rustls::rustls::ServerName::try_from(host_name) .map_err(|e| std::io::Error::new(std::io::ErrorKind::Other, e))?; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tiny-0.10.0+git13/crates/libtiny_common/src/lib.rs new/tiny-0.10.0+git14/crates/libtiny_common/src/lib.rs --- old/tiny-0.10.0+git13/crates/libtiny_common/src/lib.rs 2022-03-02 08:30:36.000000000 +0100 +++ new/tiny-0.10.0+git14/crates/libtiny_common/src/lib.rs 2022-11-11 19:38:52.000000000 +0100 @@ -29,7 +29,7 @@ } } -impl<'a> Borrow<ChanNameRef> for ChanName { +impl Borrow<ChanNameRef> for ChanName { fn borrow(&self) -> &ChanNameRef { self.as_ref() } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tiny-0.10.0+git13/crates/libtiny_tui/src/lib.rs new/tiny-0.10.0+git14/crates/libtiny_tui/src/lib.rs --- old/tiny-0.10.0+git13/crates/libtiny_tui/src/lib.rs 2022-03-02 08:30:36.000000000 +0100 +++ new/tiny-0.10.0+git14/crates/libtiny_tui/src/lib.rs 2022-11-11 19:38:52.000000000 +0100 @@ -179,7 +179,7 @@ TUIRet::Input { msg, from } => { if msg[0] == '/' { // Handle TUI commands, send others to downstream - let cmd: String = (&msg[1..]).iter().collect(); + let cmd: String = msg[1..].iter().collect(); let result = tui.borrow_mut().try_handle_cmd(&cmd, &from); match result { CmdResult::Ok => {} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tiny-0.10.0+git13/crates/libtiny_tui/src/tui.rs new/tiny-0.10.0+git14/crates/libtiny_tui/src/tui.rs --- old/tiny-0.10.0+git13/crates/libtiny_tui/src/tui.rs 2022-03-02 08:30:36.000000000 +0100 +++ new/tiny-0.10.0+git14/crates/libtiny_tui/src/tui.rs 2022-11-11 19:38:52.000000000 +0100 @@ -844,7 +844,7 @@ width_left -= 2; } // drop any tabs that overflows from the screen - for (tab_idx, tab) in (&self.tabs[i..]).iter().enumerate() { + for (tab_idx, tab) in self.tabs[i..].iter().enumerate() { if tab.width() > width_left { break; } else { @@ -894,7 +894,7 @@ // debug!("left_arr: {}, right_arr: {}", left_arr, right_arr); // finally draw the tabs - for (tab_idx, tab) in (&self.tabs[tab_left..tab_right]).iter().enumerate() { + for (tab_idx, tab) in self.tabs[tab_left..tab_right].iter().enumerate() { tab.draw( &mut self.tb, &self.colors, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tiny-0.10.0+git13/crates/libtiny_wire/src/formatting.rs new/tiny-0.10.0+git14/crates/libtiny_wire/src/formatting.rs --- old/tiny-0.10.0+git13/crates/libtiny_wire/src/formatting.rs 2022-03-02 08:30:36.000000000 +0100 +++ new/tiny-0.10.0+git14/crates/libtiny_wire/src/formatting.rs 2022-11-11 19:38:52.000000000 +0100 @@ -372,7 +372,7 @@ } } -pub fn parse_irc_formatting<'a>(s: &'a str) -> impl Iterator<Item = IrcFormatEvent> + 'a { +pub fn parse_irc_formatting(s: &str) -> impl Iterator<Item = IrcFormatEvent> { FormatEventParser::new(s) } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tiny-0.10.0+git13/crates/libtiny_wire/src/lib.rs new/tiny-0.10.0+git14/crates/libtiny_wire/src/lib.rs --- old/tiny-0.10.0+git13/crates/libtiny_wire/src/lib.rs 2022-03-02 08:30:36.000000000 +0100 +++ new/tiny-0.10.0+git14/crates/libtiny_wire/src/lib.rs 2022-11-11 19:38:52.000000000 +0100 @@ -150,8 +150,8 @@ fn parse_pfx(pfx: &str) -> Pfx { match pfx.find(&['!', '@'][..]) { Some(idx) => Pfx::User { - nick: (&pfx[0..idx]).to_owned(), - user: (&pfx[idx + 1..]).to_owned(), + nick: pfx[0..idx].to_owned(), + user: pfx[idx + 1..].to_owned(), }, None => { // Chars that nicks can have but servernames cannot diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tiny-0.10.0+git13/crates/term_input/src/lib.rs new/tiny-0.10.0+git14/crates/term_input/src/lib.rs --- old/tiny-0.10.0+git13/crates/term_input/src/lib.rs 2022-03-02 08:30:36.000000000 +0100 +++ new/tiny-0.10.0+git14/crates/term_input/src/lib.rs 2022-11-11 19:38:52.000000000 +0100 @@ -296,7 +296,7 @@ type Item = std::io::Result<Event>; fn poll_next(mut self: Pin<&mut Input>, cx: &mut Context) -> Poll<Option<Self::Item>> { - let self_: &mut Input = &mut *self; + let self_: &mut Input = &mut self; 'main: loop { // Try to parse any bytes in the input buffer from the last poll diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/tiny-0.10.0+git13/crates/tiny/src/cmd.rs new/tiny-0.10.0+git14/crates/tiny/src/cmd.rs --- old/tiny-0.10.0+git13/crates/tiny/src/cmd.rs 2022-03-02 08:30:36.000000000 +0100 +++ new/tiny-0.10.0+git14/crates/tiny/src/cmd.rs 2022-11-11 19:38:52.000000000 +0100 @@ -86,7 +86,7 @@ None } -fn find_client<'a>(clients: &'a mut Vec<Client>, serv_name: &str) -> Option<&'a mut Client> { +fn find_client<'a>(clients: &'a mut [Client], serv_name: &str) -> Option<&'a mut Client> { match find_client_idx(clients, serv_name) { None => None, Some(idx) => Some(&mut clients[idx]), @@ -193,7 +193,7 @@ } } -fn reconnect(ui: &UI, clients: &mut Vec<Client>, src: MsgSource) { +fn reconnect(ui: &UI, clients: &mut [Client], src: MsgSource) { if let Some(client) = find_client(clients, src.serv_name()) { ui.add_client_msg( "Reconnecting...", ++++++ tiny.obsinfo ++++++ name: tiny version: 0.10.0+git14 mtime: 1668191932 commit: 9f71ba3d0c271b47e44bd7580b484d9e452352a0 ++++++ vendor.tar.xz ++++++ /work/SRC/openSUSE:Factory/tiny/vendor.tar.xz /work/SRC/openSUSE:Factory/.tiny.new.1835/vendor.tar.xz differ: char 26, line 1