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

upload a folders structures #2179

Open
JustAnotherRandomUsername opened this issue Jun 13, 2023 · 6 comments
Open

upload a folders structures #2179

JustAnotherRandomUsername opened this issue Jun 13, 2023 · 6 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed pinned Pinnend issues are not touched by the stale bot

Comments

@JustAnotherRandomUsername

Hello developers!

I have a scm-server 2.44

How I can upload a folders structure with or without files via web-interface?

dropping folder to scm-server load files only (

Any help please

@pfeuffer
Copy link
Member

Hi random user,

you are right: The editor plugin cannot upload whole directory structures. This would have to be done with the native clients (git, svn or hg). Please keep in mind that neither git nor hg can track empty folders. To create folder structures nonetheless, we have the manage folder plugin. Here, you can create single folders. To make this work with git and hg, too, we create small files inside these folders. You still cannot upload whole folder structures in one pass, though.

Hope this helps a bit.

René

@JustAnotherRandomUsername
Copy link
Author

hello pfeuffer(René),
thank you for your answer!

yes you right, usually a developers use an some client-side app for creating files and folders structure. but my case is a user who can't use svn-client softwares for any reasons.

and I still can't understand why uploading folders structure via web-interface is so hard for release in scm-server?

sorry my bad, I have an svn-type repo, and if you can add this ability only for svn-type repos its will be amazing!

@JustAnotherRandomUsername
Copy link
Author

ok, i have an idea to solve this issue.

can you add ability (it can be a button in web-interface) to unpack archive

(all steps via web-interface)

for example next logic:

  1. user selecting repository
  2. user creating ZIP-archive with many folders,subfolders,files locally
  3. user uploading this archive to repository via web-interface
  4. user selecting this archive and press "unpack" button

expected behavior:

  • server unpacking all from this archive
  • profit! solved!

optionally:

  • add options to restrict access to "unpacking" button
  • add options to restrict size of uploding
  • add options to check unpacking files with antivirus
  • add support tar,bz2,gstd and othe popular formats

thank you!

@pfeuffer pfeuffer added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Jun 19, 2023
@stale
Copy link

stale bot commented Aug 12, 2023

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Issue is stale and will be closed if no further activity occurs label Aug 12, 2023
@christophloose
Copy link

Was also requested here: https://community.cloudogu.com/t/scm-manager-gui-upload-function-suppresses-sub-folders/1215

@stale stale bot closed this as completed Sep 17, 2023
@christophloose
Copy link

We are still planning to implement this feature into SCM-Manager
internal ticket ID #42068

@pfeuffer pfeuffer reopened this Sep 18, 2023
@stale stale bot removed the stale Issue is stale and will be closed if no further activity occurs label Sep 18, 2023
@pfeuffer pfeuffer added the pinned Pinnend issues are not touched by the stale bot label Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed pinned Pinnend issues are not touched by the stale bot
Projects
None yet
Development

No branches or pull requests

3 participants