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

Temporary files are not purged #29

Closed
Turgon37 opened this issue Jul 23, 2019 · 5 comments
Closed

Temporary files are not purged #29

Turgon37 opened this issue Jul 23, 2019 · 5 comments

Comments

@Turgon37
Copy link

We are running bower behind a nexus registry

I notice that temporary files are not purged once the assets are downloaded

To reproduce with bower version 1.0.4

  1. use a bowerrc like this
user@helper02 ~/web/tmp/test $ cat .bowerrc 
{
  "registry" : {
    "search" : [ "https://registry.example.com/repository/bower-proxy/" ]
  },
  "resolvers" : [ "bower-nexus3-resolver" ]
}
  1. run bower install
bower install --force
  1. notice that temporary files are not removed
user@helper02 ~/web/tmp/test # ls -l /tmp/tmp-*
-rw-r--r-- 1 helper helper  295882 juil. 23 14:40 /tmp/tmp-251786HLa5n7RL5K
-rw-r--r-- 1 helper helper 2414926 juil. 23 14:40 /tmp/tmp-25179YcOMMoIXwcY
-rw-r--r-- 1 helper helper 4176288 juil. 23 14:40 /tmp/tmp-2517JQK1uwzbw5Hv
-rw-r--r-- 1 helper helper 2366973 juil. 23 14:40 /tmp/tmp-2517KuIMgaEteczj
-rw-r--r-- 1 helper helper  189823 juil. 23 14:40 /tmp/tmp-2517OE4dfVxsy8De
-rw-r--r-- 1 helper helper  428166 juil. 23 14:40 /tmp/tmp-2517R2zA2GwZ72V1
-rw-r--r-- 1 helper helper  428166 juil. 23 14:40 /tmp/tmp-2517SvBwONOTaAW9

I've found an issue that can be related with tmp module bower/bower#345

How can we debug this ?

@joedragons
Copy link
Contributor

Does that not happen when you don't use NXRM?

@Turgon37
Copy link
Author

no, without nxrm, the temporary folder path is /tmp/[linux username]/bower the the folder is empty at the end of the download process

@Turgon37
Copy link
Author

Hello, do you have any news about this ?

@joedragons
Copy link
Contributor

@Turgon37 I don't have any info, I can tell you that Sonatype mostly monitors issues.sonatype.com for issues not github. I've been advocating we just disable the issues and say that in various projects but not full luck so far. You might try filing there too.

@Turgon37
Copy link
Author

Bower is deprecated now, I close this because I don't use bower anymore

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

No branches or pull requests

2 participants