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

Report changed files even when md5 is the same #569

Closed
arichiardi opened this issue Jan 12, 2017 · 1 comment
Closed

Report changed files even when md5 is the same #569

arichiardi opened this issue Jan 12, 2017 · 1 comment

Comments

@arichiardi
Copy link
Contributor

I am debugging a case in boot-figreload where I am logging the following on the fileset:

(butil/warn "Changed %s\n" (butil/pp-str (map (juxt :path :hash) (b/ls (b/fileset-diff @prev-pre fileset :hash)))))

The output of different runs is:

#1: Changed (["rest_resources_viz/core.cljs" "2015aeab1a260d66ad4d6390e47d44f8"]
             ["main.cljs.edn" "347945304e5da6f54c81696e76746ad0"])
#2: Changed (["rest_resources_viz/core.cljs" "f77a8ad945fabd087807d2ea4e788814"]
             ["main.cljs.edn" "347945304e5da6f54c81696e76746ad0"])
#3: Changed (["rest_resources_viz/core.cljs" "7f1662dd948112c61e6f21bb045c9d2c"]
             ["main.cljs.edn" "347945304e5da6f54c81696e76746ad0"])

Note that the file names are not there on purpose and :hash is passed to the function. The second one is reported as changed while it is not it seems.

This issue occurs with fileset-changed as well. Can it be related to #566?

@arichiardi
Copy link
Contributor Author

arichiardi commented Jan 13, 2017

Closing, the problem was elsewhere. 🙃

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

1 participant