Skip to content
This repository was archived by the owner on Nov 23, 2026. It is now read-only.
This repository was archived by the owner on Nov 23, 2026. It is now read-only.

Backups App #9267

Closed
Closed

Description

@tbsbdr
  • relates to: 2714602
  • enable to run the app as extension
  • provide an option to reuse components

Activity

  1. tbsbdr commented on Jun 19, 2023

    @tbsbdr
    Author

    @elizavetaRa could you provide a pointer where we can experience what the app does?

  2. kulmann commented on Jun 19, 2023

    @kulmann
    Contributor

    We discussed in a call that ownCloud will not implement the Backups app, but will provide component reusability as needed. @labkode @diocas @elizavetaRa please confirm.

    @elizavetaRa @diocas please provide a full list of components and composables from the files app that are needed in a more generic way (= web-pkg).

  3. labkode commented on Jun 23, 2023

    @labkode

    Hi @kulman,

    The list of components are available as imports in the following commit:
    cernbox@2714602

  4. pascalwengerter commented on Jun 23, 2023

    @pascalwengerter
    Contributor

    Hi @kulman,

    The list of components are available as imports in the following commit: cernbox@2714602

    Just want to point out that this goes beyond the scope of "just four components imported" since

    • it imports helpers, composables and more (search for 'web-app-files/ within packages/web-app-backups/src/components/BackupsSection.vue
    • AppBar and ResourceTable both use further helpers/composables/components from the files app and interact with the store, which needs to be taken into consideration when estimating the complexity behind an extraction.

    Not saying it's not possible though, I suppose an extension system would actually greatly benefit from having these available

  5. labkode commented on Jun 23, 2023

    @labkode
  6. pascalwengerter commented on Jun 23, 2023

    @pascalwengerter
    Contributor

    @pascalwengerter in case it helps: owncloud/core#17610

    Are you sure the link you provided is the right one? It doesn't fit to how the current project is set up or a modern approach to JS. What we will have to do to resolve #8281 (and thereby this issue) is to extract the used functionality into e.g. the web-pkg submodule and therefore make it available to extension developers

  7. added this to the CERN Web Merge milestone on Jul 10, 2023
  8. JammingBen commented on Aug 9, 2023

    @JammingBen
    Contributor

    @jacob-nv CERN has some existing code for a backup app that can be found here: 2714602. The one issue: the main component BackupsSection contains a few imports & usages from web-app-files, which is a no-go. Therefore the plan is to remove that dependency from the app.

    I'd suggest you start by creating a PR in our repo that implements the very same code (= create packages/web-app-backups). Then iterate over the imports from web-app-files and move this code to web-pkg (when it makes sense) so the app can make use of it.

    The next iteration would be to move the app from our repo to https://github.com/cernbox/web-extensions.

  9. self-assigned this
    on Sep 15, 2023
  10. JammingBen commented on Oct 9, 2023

    @JammingBen
    Contributor

    Implemented via cernbox/web-extensions#21.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions