Index index by Group index by Distribution index by Vendor index by creation date index by Name Mirrors Help Search

ineffassign-0.0.0+git20230610.0e73809-1.1 RPM for s390x

From OpenSuSE Ports Tumbleweed for s390x

Name: ineffassign Distribution: openSUSE:Factory:zSystems
Version: 0.0.0+git20230610.0e73809 Vendor: openSUSE
Release: 1.1 Build date: Sun Aug 13 19:52:27 2023
Group: Unspecified Build host: s390zp25
Size: 4972332 Source RPM: ineffassign-0.0.0+git20230610.0e73809-1.1.src.rpm
Packager: https://bugs.opensuse.org
Url: https://github.com/gordonklaus/ineffassign
Summary: Tool to detect ineffectual assignments in Go code
This tool misses some cases because does not consider any type information in
its analysis. (For example, assignments to struct fields are never marked as
ineffectual.) It should, however, never give any false positives.

Provides

Requires

License

MIT

Changelog

* Sat Aug 12 2023 jkowalczyk@suse.com
  - Update to version 0.0.0+git20230610.0e73809:
    * A function is not deferred until after it and its args have been evaluated.
    * Update issue templates
    * Check length of builder.defers as maybePanic may be called outside of a function scope.
    * Do not mark named function results as used if an operation might panic but will not be recovered (i.e., when there is no defer statement).
    * Don't type-check the code being analyzed.
    * Missed a spot.
    * Don't treat nil initialization as assignment.
    * doc:  clarify meaning of ineffectual assignment
  - Use _service mode manual as better alias name than disabled
* Tue Mar 16 2021 Jeff Kowalczyk <jkowalczyk@suse.com>
  - Update to version 0.0.0+git20210225.2e10b26:
    * Don't disregard operations that occur prior to a variable escaping.
    * Move library code of the analyzer into pkg/ineffassign
    * Extra "is this file generated" logic into func
    * Ignore generated files.
    * Adjust testdata comments to match what analysistest expects.
    * Fix testdata compilation errors.
    * Re-add support for -n flag (and run go fmt)
    * Use analysis.Analyzer to implement ineffassign
    * Update "Usage" in README
    * Deprecate "-n" flag
    * Add support for ... syntax for recursive analysis
    * Ignore generated files
    * Add docs on tool install and usage
    * Terminate a block upon reaching a return statement.
    * avoid repeating type assertions by switching on `x := x.(type)`
    * Account for the pathological case where some clown redfined 'false'
    * Don't treat initialization to 'false' as assignment.
    * Packaging use go modules and vendor dependencies
    * Packaging add obs-service-go_modules disabled
    * Packaging drop BuildRequires: golang-packaging macros no longer used
    * Packaging add rpmlintrc
* Fri Jan 04 2019 Jan Engelhardt <jengelh@inai.de>
  - Use noun phrase in summary.
* Wed Jan 02 2019 ndas@suse.de
  - enable tar_scm service
* Wed Jan 02 2019 opensuse-packaging@opensuse.org
  - Update to version 0.0.0+git20180909.1003c8b:
    * Don't treat initialization to zero like `x := int64(0)` as assignment.
    * Guard against invalid code (break/continue outside of loop).
    * Definitely don't panic in maybePanic.
    * Mark named function results as used in operations that may panic.
    * Don't treat explicit initialization to zero as assignment; it is often used as shorthand for a bare declaration.
    * Support multiple path arguments on the command line.
    * Add a note to the README about limitations.
    * Slicing an array or taking the address of an array element causes the array to escape.
    * Use control flow analysis to find more useless assignments.
    * ignore vendor directories
* Tue Jul 10 2018 mrostecki@suse.com
  - Initial release

Files

/usr/bin/ineffassign
/usr/share/doc/packages/ineffassign
/usr/share/doc/packages/ineffassign/README.md
/usr/share/licenses/ineffassign
/usr/share/licenses/ineffassign/LICENSE


Generated by rpm2html 1.8.1

Fabrice Bellet, Sat Mar 9 12:50:11 2024