Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove deprecate objects from LibraryNetworkEntitiy #3092

Closed
gouri-panda opened this issue Sep 27, 2022 · 10 comments · Fixed by #3293
Closed

Remove deprecate objects from LibraryNetworkEntitiy #3092

gouri-panda opened this issue Sep 27, 2022 · 10 comments · Fixed by #3293
Assignees
Milestone

Comments

@gouri-panda
Copy link
Collaborator

gouri-panda commented Sep 27, 2022

We deprecated the File object in LibraryNetworkEntitiy. Perhaps it's time to remove deprecated objects/methods.

@Deprecated
public File file;
@Deprecated
public String remoteUrl;

Originally posted by @gouri-panda in #3051 (comment)

Solution
We have to find alternative methods for this. We should refactor other classes' dependencies as well.

@gouri-panda gouri-panda changed the title Remove deprecate objects from TestUtils Remove deprecate objects from LibraryNetworkEntitiy Sep 27, 2022
@soCallmeAdityaKumar
Copy link

I am interested in doing it can help me out.

@kelson42 kelson42 added this to the 3.7.0 milestone Dec 29, 2022
@kelson42
Copy link
Collaborator

kelson42 commented Dec 29, 2022

@gouri-panda Honestly I don’t understand this ticket. Who deprecated what exactly? For which reason? This File stuff seems deprecated but at the same time it should be replaced, this is contradictory? How to fix the problem?

We have here again a ticket which is not understable for anybody except the developers. An effort should be made to avoid this because nothing can be done as long as the ticket is not understandable.

@kelson42
Copy link
Collaborator

@MohitMaliDeveloper Would that be complicated to fix?

@gouri-panda
Copy link
Collaborator Author

@kelson42 Sorry for the late reply! I don't know why it has been deprecated. I think it's for good reasons Sean deprecated it. The purpose of this ticket is the replace with the good alternatives.

@rishujam
Copy link

Hey @gouri-panda can I work on this?

@kelson42
Copy link
Collaborator

@rishujam @gouri-panda @MohitMaliDeveloper What is exactly the plan here? If we don’t understand why this is deprecated, the I would do nothing. What woukd be an alternative and why it should be better?

@rishujam
Copy link

rishujam commented Jan 27, 2023

I guess it does not literally mean that the File object is deprecated instead we should stop using these attributes from LibraryNetworkEntitiy class. Also, remoteUrl attribute is not being used anywhere in the project. Is it right @gouri-panda ?

@kelson42
Copy link
Collaborator

kelson42 commented Mar 2, 2023

@MohitMaliFtechiz Please clarify what has to be done, then it could be reassign to so eone else to do the real fix

@MohitMaliFtechiz
Copy link
Collaborator

@kelson42 , I have research about it an found below points.

this PR fixed many tickets and i have checked many of them, I have not find any good reason to deprecated these objects on PR discussion as well as on ticket dicussion. But i have checked remoteUrl is unused here we can remove it.

@kelson42
Copy link
Collaborator

@MohitMaliFtechiz Please then domthe bit which is then necessar to close this ticket.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants