pharo icon indicating copy to clipboard operation
pharo copied to clipboard

Remove Author

Open guillep opened this issue 3 years ago • 13 comments

Lots of cleanups

  • remove the Author class (and with it the useless popup)
  • remove dependency from many users

guillep avatar Jan 31 '22 15:01 guillep

Trop cool ;)

Ducasse avatar Jan 31 '22 16:01 Ducasse

Only 400 lines removed oveall, I'm disappointed

imagen

guillep avatar Jan 31 '22 16:01 guillep

But is this for Pharo10? In the sense... there will be fallout that we did not expect for sure...

MarcusDenker avatar Jan 31 '22 16:01 MarcusDenker

Remove "Author" class or deprecate for one iteration?

I guess some people might have to modify "startup.st" files where Author is set (like me).

astares avatar Jan 31 '22 16:01 astares

Sorry but we will not deprecate Author removal.

Ducasse avatar Jan 31 '22 17:01 Ducasse

Marcus we have one month else it will be in at least 14 months or more. For something that annoys us all the time and is useless.

Ducasse avatar Jan 31 '22 17:01 Ducasse

I saw

NewUndeclaredWarning: BreakpointTest>>testAddRemoveBreakpointKeepTimeStamp (Author is Undeclared)
NewUndeclaredWarning: BreakpointTest>>testAddRemoveBreakpointKeepTimeStamp (Author is Undeclared)
NewUndeclaredWarning: LGitExternalStructure class>>createAccessorsFor: (Author is Undeclared)
NewUndeclaredWarning: LGitExternalStructure class>>createAccessorsFor: (Author is Undeclared)
NewUndeclaredWarning: LGitExternalStructure class>>createAccessorsFor: (Author is Undeclared)
NewUndeclaredWarning: LGitExternalStructure class>>createAccessorsFor: (Author is Undeclared)
SystemNotification: RBDummyRefactoryTestDataApp>>tempVarOverridesInstVar(temporaryVariable is shadowed)
SystemNotification: RBDummyRefactoryTestDataApp>>tempVarOverridesInstVar(temporaryVariable is shadowed)
SystemNotification: RBRefactoryTestDataApp>>tempVarOverridesInstVar(temporaryVariable is shadowed)
SystemNotification: RBRefactoryTestDataApp>>tempVarOverridesInstVar(temporaryVariable is shadowed)
SystemNotification: RBSmalllintTestObject>>tempVarOverridesInstVar(temporaryVariable is shadowed)
SystemNotification: RBSmalllintTestObject>>tempVarOverridesInstVar(temporaryVariable is shadowed)
SystemNotification: ReTempVarOverridesInstVarRuleTest>>sampleMethod:(dummy1 is shadowed)
SystemNotification: ReTempVarOverridesInstVarRuleTest>>sampleMethod:(dummy2 is shadowed)
SystemNotification: ReTempVarOverridesInstVarRuleTest>>sampleMethod:(dummy3 is shadowed)
SystemNotification: ReTempVarOverridesInstVarRuleTest>>sampleMethod:(dummy1 is shadowed)
SystemNotification: ReTempVarOverridesInstVarRuleTest>>sampleMethod:(dummy2 is shadowed)
SystemNotification: ReTempVarOverridesInstVarRuleTest>>sampleMethod:(dummy3 is shadowed)
NewUndeclaredWarning: Class>>inspectionClassComment (Author is Undeclared)
NewUndeclaredWarning: Class>>inspectionClassComment (Author is Undeclared)
NewUndeclaredWarning: ClyClassWithUndeclares>>method1WithUndeclares (undeclaredStubInstVar1 is Undeclared)
NewUndeclaredWarning: ClyClassWithUndeclares>>method1WithUndeclares (undeclaredStubInstVar1 is Undeclared)
NewUndeclaredWarning: ClyClassWithUndeclares>>method2WithUndeclares (undeclaredStubInstVar2 is Undeclared)
NewUndeclaredWarning: ClyClassWithUndeclares>>method2WithUndeclares (undeclaredStubInstVar2 is Undeclared)
NewUndeclaredWarning: IceMCVersionInfo>>fromPackage:message: (Author is Undeclared)
NewUndeclaredWarning: IceMCVersionInfo>>fromPackage:message: (Author is Undeclared)

Ducasse avatar Jan 31 '22 17:01 Ducasse

I don't know, we have users that still depends on the versioning done by the author and modification of methods. I will not push it now without having an alternative.

tesonep avatar Feb 01 '22 09:02 tesonep

I think we should provide a loadable package with this. It is true that for the newies is a crap to show the popup. An initial step could be to put a setting to not ask the author everytime.

tesonep avatar Feb 01 '22 09:02 tesonep

I'm not against pushing this to after the release (I just did it and push it because I had 2 dead hours).

I agree with @tesonep's @astares's concern about backwards compatibility. We may have people requiring it, we should think about what to do with it. @sbragagnolo just proposed next to me a good alternative would be also to automatically take the name from the OS User (which could be done by reading environment variables ;)).

guillep avatar Feb 01 '22 09:02 guillep

Ok but why do we need this?

Ducasse avatar Feb 01 '22 20:02 Ducasse

+1 for removing Author

jordanmontt avatar May 12 '22 09:05 jordanmontt

As a follow up, this needs to be reworked a bit:

  • it has merge conflicts now :)
  • we need an altenative for those users that are not depending on Git and still need some Authorship support. I think we could build an authorship support using announcements.

guillep avatar May 12 '22 09:05 guillep

Too many conflicts, I'll re-do it for now

guillep avatar Jan 26 '24 07:01 guillep